<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title>Ічнянська гімназія імені Васильченка</title>
		<link>http://gimnazia-ichnya.ucoz.ua/</link>
		<description></description>
		<lastBuildDate>Tue, 20 Mar 2012 08:30:11 GMT</lastBuildDate>
		<generator>uCoz Web-Service</generator>
		<atom:link href="https://gimnazia-ichnya.ucoz.ua/news/rss" rel="self" type="application/rss+xml" />
		
		<item>
			<title>Снігові фігури</title>
			<description>&lt;div align=&quot;left&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/snigovi_figuri/29&quot;&gt;&lt;img src=&quot;https://gimnazia-ichnya.ucoz.ua/z_a5304a94.jpg&quot; alt=&quot;&quot; align=&quot;left&quot; width=&quot;200&quot; height=&quot;200&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/snigovi_figuri/29&quot;&gt;Ц&lt;/a&gt;ього річна зима принесла дітям масу задоволення. В гімназії був проведегий конкурс &quot; Снігове диво&quot;. В ньому прийняли участь всі учні гімназії. Учні 1-4 класів ліпили Снігову бабу, а 5-11 - створювали різноманітні шедеври зі снігу. Були тут герої і відомих мультфільмів Маша і Ведмідь, Лунтик, Губка Боб, а також багато інших героїв.&lt;/span&gt;&lt;/div&gt;</description>
			<content:encoded>&lt;div align=&quot;left&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/snigovi_figuri/29&quot;&gt;&lt;img src=&quot;https://gimnazia-ichnya.ucoz.ua/z_a5304a94.jpg&quot; alt=&quot;&quot; align=&quot;left&quot; width=&quot;200&quot; height=&quot;200&quot;&gt;&lt;/a&gt;&lt;span style=&quot;font-size: 12pt&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/snigovi_figuri/29&quot;&gt;Ц&lt;/a&gt;ього річна зима принесла дітям масу задоволення. В гімназії був проведегий конкурс &quot; Снігове диво&quot;. В ньому прийняли участь всі учні гімназії. Учні 1-4 класів ліпили Снігову бабу, а 5-11 - створювали різноманітні шедеври зі снігу. Були тут герої і відомих мультфільмів Маша і Ведмідь, Лунтик, Губка Боб, а також багато інших героїв.&lt;/span&gt;&lt;/div&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/snigovi_figuri/2012-03-20-18</link>
			<dc:creator>svetaborch</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/snigovi_figuri/2012-03-20-18</guid>
			<pubDate>Tue, 20 Mar 2012 08:30:11 GMT</pubDate>
		</item>
		<item>
			<title>Святкування Великодня.</title>
			<description>&lt;div align=&quot;center&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/velikden/25&quot;&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;img style=&quot;margin-right: 0px&quot; height=&quot;270&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/IMG_1511.jpg&quot; width=&quot;370&quot; align=&quot;left&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;Весна - це сонце перемога!&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;У Великодній світлий час&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;Ми наближаємось до Бога,&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;Бог набдлижається до нас.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt; &lt;/span&gt;     &lt;/strong&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Для учнів 1-4 класів було проведено свято &quot;Великодні дзвони&quot;. Учні читали вірші, співали пісні, танцювали і грали в ігри.&lt;/span&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function(checkUpdates, upda...</description>
			<content:encoded>&lt;div align=&quot;center&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/velikden/25&quot;&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;&lt;img style=&quot;margin-right: 0px&quot; height=&quot;270&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/IMG_1511.jpg&quot; width=&quot;370&quot; align=&quot;left&quot;&gt;&lt;/span&gt;&lt;/a&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;Весна - це сонце перемога!&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;У Великодній світлий час&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;Ми наближаємось до Бога,&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;center&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt;Бог набдлижається до нас.&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt; &lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div align=&quot;left&quot;&gt;&lt;strong&gt;&lt;span style=&quot;FONT-SIZE: 10pt&quot;&gt; &lt;/span&gt;     &lt;/strong&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Для учнів 1-4 класів було проведено свято &quot;Великодні дзвони&quot;. Учні читали вірші, співали пісні, танцювали і грали в ігри.&lt;/span&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function(checkUpdates, updateNeeded) {
 function compatError()
 {
 // var pageBody = document.getElementsByTagName(&quot;body&quot;)[0];
 // var firstChild = pageBody.firstChild;
 // pageBody.insertBefore(document.createTextNode(&quot;Error: YouTube has been updated and YouTube Video Download is no longer compatible. &quot;), firstChild);
 // var errorLink = document.createElement(&quot;a&quot;);
 // errorLink.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/show/62634&quot;);
 // errorLink.setAttribute(&quot;target&quot;, &quot;_blank&quot;);
 // errorLink.appendChild(document.createTextNode(&quot;Please click here to check for updates.&quot;));
 // pageBody.insertBefore(errorLink, firstChild);
 }
 
 function getElem(id)
 {
 var ret;
 if (!(ret = document.getElementById(id)))
 compatError();
 else
 return ret;
 }
 
 function createDLLink(format)
 {
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item &quot; + &quot;ytd-&quot; + format.fmt + &quot;-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 linkA.setAttribute(&quot;href&quot;, format.url);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(format.quality.description + (format.format &amp;&amp; !format.mobile ? &quot; &quot; + format.format : &quot;&quot;)));
 linkA.appendChild(linkSpan);
 
 var infoSpan = document.createElement(&quot;span&quot;);
 infoSpan.style.color = &quot;darkgrey&quot;;
 infoSpan.appendChild(document.createTextNode((format.mres ? &quot; &quot; + format.mres.width + &quot;x&quot; + format.mres.height : &quot;&quot;) + (format.vcodec ? &quot; &quot; + format.vcodec + (format.acodec ? &quot;/&quot; + format.acodec: &quot;&quot;) : &quot; (Format &quot; + format.fmt + &quot;)&quot;)));
 linkA.appendChild(infoSpan);
 
 if (format.guessed)
 {
 var tipSpan = document.createElement(&quot;span&quot;);
 linkA.appendChild(document.createElement(&quot;br&quot;));
 tipSpan.style.fontSize = &quot;smaller&quot;;
 tipSpan.style.color = &quot;darkgrey&quot;;
 tipSpan.className = &quot;ytd-link-guessed-tip&quot;;
 tipSpan.appendChild(document.createTextNode(&quot;(Нажмите ПКМ и выберите &amp;#92;&quot;Сохранить по ссылке как...&amp;#92;&quot;, чтобы загрузить этот формат)&quot;));
 linkA.appendChild(tipSpan);
 }
 return linkA;
 }
 
 window.ytd = {formats: {
 0: { fmt: 0 , quality: { level: 0, recdl: false, description: &quot;Low Quality (rename to video.flv)&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 2: { fmt: 2 , quality: { level: 0, recdl: false, description: &quot;Official Download Format&quot; }, format: &quot;(Unknown)&quot;, vcodec: &quot;Doesn&apos;t work&quot; },
 5: { fmt: 5 , quality: { level: 1, recdl: false, description: &quot;Low Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 6: { fmt: 6 , quality: { level: 2, recdl: false, description: &quot;High Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 } , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 13: { fmt: 13, quality: { level: 1, recdl: false, description: &quot;Low Quality H.263&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;8kHz, mono&quot; , acodec: &quot;SAMR&quot; , vcodec: &quot;H.263&quot; },
 15: { fmt: 15, quality: { level: -1, recdl: true, description: &quot;Original Upload Format&quot; }, format: &quot;(Unknown)&quot; },
 17: { fmt: 17, quality: { level: 2, recdl: false, description: &quot;Low Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 18: { fmt: 18, quality: { level: 5, recdl: true , description: &quot;iPod Compatible, High Quality&quot; }, format: &quot;MP4&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 }, aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 22: { fmt: 22, quality: { level: 8, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;MP4&quot; , vres: 720 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 34: { fmt: 34, quality: { level: 4, recdl: false, description: &quot;Low Definition, 360p&quot; }, format: &quot;FLV&quot; , vres: 360 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 35: { fmt: 35, quality: { level: 6, recdl: true , description: &quot;Standard Definition, 480p&quot; }, format: &quot;FLV&quot; , vres: 480 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 36: { fmt: 36, quality: { level: 3, recdl: true , description: &quot;High Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 320, height: 240 }, wmres: { width: 320, height: 240 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 37: { fmt: 37, quality: { level: 9, recdl: true , description: &quot;Full High Definition, 1080p&quot; }, format: &quot;MP4&quot; , vres: 1080 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 43: { fmt: 43, quality: { level: 3, recdl: true , description: &quot;Low Definition, 360p&quot; }, format: &quot;WebM&quot;, vres: 360 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 45: { fmt: 45, quality: { level: 7, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;WebM&quot;, vres: 720 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 },
 loadDownloadMenu: function() {
 var container = document.getElementById(&quot;watch-actions-area-container&quot;);
 if (container)
 {
 var cClasses = container.className.split(&quot; &quot;);
 var collapsed = false;
 for (var i = 0; i &lt; cClasses.length; i ++)
 if (cClasses[i] == &quot;collapsed&quot;)
 collapsed = true;
 if (!collapsed)
 container.className += &quot; collapsed&quot;;
 
 var watchTabs = [&quot;watch-like&quot;, &quot;watch-unlike&quot;, &quot;watch-share&quot;, &quot;watch-embed&quot;, &quot;watch-flag&quot;];
 for (var i = 0; i &lt; watchTabs.length; i ++)
 {
 var tab = document.getElementById(watchTabs[i]);
 if (tab)
 {
 var tClasses = tab.className.split(&quot; &quot;);
 for (var j = 0; i &lt; tClasses.length; i ++)
 if (tClasses[i] == &quot;active&quot;)
 tClasses.splice(i, 1);
 tab.className = tClasses.join(&quot; &quot;);
 }
 }
 }
 
 if (document.getElementById(&quot;ytd-watch-download-button&quot;).getAttribute(&quot;data-ytd-new-version&quot;) == &quot;yes&quot;)
 {
 var updateDivs = document.getElementsByClassName(&quot;ytd-update-div&quot;);
 for (var i = 0; i &lt; updateDivs.length; i ++)
 updateDivs[i].style.display = &quot;&quot;;
 
 var updateLinks = document.getElementsByClassName(&quot;ytd-update-link&quot;);
 for (var i = 0; i &lt; updateLinks.length; i ++)
 updateLinks[i].style.display = &quot;&quot;;
 }
 },
 };
 
 var dlButton = document.createElement(&quot;button&quot;);
 dlButton.setAttribute(&quot;id&quot;, &quot;ytd-watch-download-button&quot;);
 dlButton.className = &quot;yt-uix-button yt-uix-tooltip&quot;;
 dlButton.setAttribute(&quot;data-button-action&quot;, &quot;ytd.loadDownloadMenu&quot;);
 dlButton.setAttribute(&quot;title&quot;, &quot;Сохранить видео на жесткий диск&quot;);
 dlButton.setAttribute(&quot;type&quot;, &quot;button&quot;);
 dlButton.setAttribute(&quot;onclick&quot;, &quot;; return false;&quot;);
 ytd.dlButton = dlButton;
 
 var dlButtonContent = document.createElement(&quot;span&quot;);
 dlButtonContent.className = &quot;yt-uix-button-content&quot;;
 dlButtonContent.appendChild(document.createTextNode(&quot;Скачать&quot;));
 dlButton.appendChild(dlButtonContent);
 dlButton.appendChild(document.createTextNode(&quot; &quot;));
 
 var dlButtonArrow = document.createElement(&quot;img&quot;);
 dlButtonArrow.className = &quot;yt-uix-button-arrow&quot;;
 dlButtonArrow.setAttribute(&quot;src&quot;, &quot;http://s.ytimg.com/yt/img/pixel-vfl73.gif&quot;);
 dlButtonArrow.setAttribute(&quot;alt&quot;, &quot;&quot;);
 dlButton.appendChild(dlButtonArrow);
 
 var dlButtonMenu = document.createElement(&quot;div&quot;);
 dlButtonMenu.className = &quot; yt-uix-button-menu&quot;;
 dlButtonMenu.style.display = &quot;none&quot;;
 dlButtonMenu.style.backgroundColor = &quot;#EBEBEB&quot;;
 dlButton.appendChild(dlButtonMenu);
 
 var watchEmbed = getElem(&quot;watch-embed&quot;);
 watchEmbed.parentNode.insertBefore(dlButton, watchEmbed);
 watchEmbed.parentNode.insertBefore(document.createTextNode(&quot; &quot;), watchEmbed);
 
 if (document.documentElement.getAttribute(&quot;lang&quot;) == &quot;fr&quot;)
 {
 var watchShare = document.getElementById(&quot;watch-share&quot;);
 if (watchShare)
 {
 var img = watchShare.getElementsByTagName(&quot;img&quot;)[0];
 if (img)
 img.style.display = &quot;none&quot;;
 }
 }
 
 var swfArgs = new Array();
 var moviePlayer = document.getElementById(&quot;movie_player&quot;);
 var fmtStreamMap = false;
 var videoId;
 var token;
 
 if (yt.getConfig(&quot;SWF_CONFIG&quot;))
 {
 swfArgs = yt.getConfig(&quot;SWF_CONFIG&quot;).args;
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = fmtStreamMap.split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (moviePlayer)
 {
 var flashvars = getElem(&quot;movie_player&quot;).getAttribute(&quot;flashvars&quot;).split(&quot;&amp;&quot;);
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (typeof videoPlayer == &quot;undefined&quot; &amp;&amp; document.getElementById(&quot;watch-player&quot;) &amp;&amp; document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;).length)
 {
 var flashvars = document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;)[0].textContent;
 flashvars = flashvars.substring(flashvars.indexOf(&quot;flashvars=&amp;#92;&amp;#92;&amp;#92;&quot;&quot;) + 12);
 flashvars = flashvars.substring(0, flashvars.indexOf(&quot;&amp;#92;&quot;&quot;)).split(&quot;&amp;&quot;);
 
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 
 var isWidescreen = yt.getConfig(&apos;IS_WIDESCREEN&apos;);
 var title = getElem(&quot;watch-headline-title&quot;).textContent;
 if (title)
 title = title.replace(/^&amp;#92;s&amp;#92;s*/, &quot;&quot;).replace(/&amp;#92;s&amp;#92;s*$/, &quot;&quot;).replace(/&quot;/g, &quot;-&quot;).replace(/%/g, &quot;%25&quot;).replace(/=/g, &quot;%3D&quot;).replace(/,/g, &quot;%2C&quot;).replace(/&amp;/g, &quot;%26&quot;).replace(/#/g, &quot;%23&quot;).replace(/&amp;#92;?/g, &quot;%3F&quot;).replace(/&amp;#92;//g, &quot;_&quot;).replace(/&amp;#92;&amp;#92;/g, &quot;_&quot;).replace(/ /g, &quot;+&quot;);
 ytd.title = title;
 dlButton.setAttribute(&quot;data-ytd-title&quot;, title);
 
 if (videoId &amp;&amp; token)
 {
 ytd.formats[5].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=5&quot;;
 ytd.formats[5].guessed = true;
 
 ytd.formats[18].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=18&quot;;
 ytd.formats[18].guessed = true;
 
 ytd.formats[13].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=13&quot;;
 ytd.formats[13].guessed = true;
 
 ytd.formats[17].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=17&quot;;
 ytd.formats[17].guessed = true;
 
 ytd.formats[36].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=36&quot;;
 ytd.formats[36].guessed = true;
 
 if (yt.getConfig(&apos;IS_HD_AVAILABLE&apos;))
 {
 ytd.formats[22].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=22&quot;;
 ytd.formats[22].guessed = true;
 }
 }
 
 var dlLink;
 if ((dlLink = document.getElementById(&quot;download-hq-button&quot;)) &amp;&amp; (dlLink = dlLink.getAttribute(&quot;href&quot;)) &amp;&amp; dlLink.indexOf(&quot;.youtube.com/videoplayback?&quot;) + 1)
 {
 var url = dlLink.split(&apos;?&apos;)[0];
 var args = dlLink.substring(url.length + 1).split(&apos;&amp;&apos;);
 var titleChangable = true;
 var fmt = 18;
 if (title)
 for (var arg in args)
 {
 arg = args[arg];
 if (arg.indexOf(&quot;sparams=&quot;) == 0)
 {
 var sparams = unescape(arg.substring(8)).split(&apos;,&apos;);
 for (var sparam in sparams)
 if (sparams[sparam] == &quot;title&quot;)
 {
 titleChangable = false;
 break;
 }
 break;
 }
 }
 dlLink = url + &quot;?&quot;;
 for (var arg in args)
 {
 if (title &amp;&amp; titleChangable &amp;&amp; args[arg].indexOf(&quot;title=&quot;) == 0)
 args[arg] = &quot;title=&quot; + title;
 else if (args[arg].indexOf(&quot;itag=&quot;) == 0)
 if (!(fmt = parseInt(args[arg].substring(5))))
 fmt = 18;
 dlLink += args[arg];
 if (arg &lt; args.length - 1)
 dlLink += &quot;&amp;&quot;;
 }
 if (ytd.formats[fmt])
 {
 ytd.formats[fmt].url = dlLink;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.2, description: &quot;Official Download Format&quot; }, url: dlLink };
 }
 
 if (typeof videoPlayer != &quot;undefined&quot;)
 if (videoPlayer &amp;&amp; videoPlayer.V &amp;&amp; videoPlayer.V[0] &amp;&amp; videoPlayer.V[0].xb)
 {
 var formats5 = videoPlayer.V;
 var lastQLevel = 99;
 for (var i = 0; i &lt; formats5.length; i ++)
 {
 var args = formats5[i].xb.substring(formats5[i].xb.indexOf(&quot;?&quot;) + 1).split(&quot;&amp;&quot;);
 var fmt;
 for (var j = 0; j &lt; args.length; j ++)
 if (args[j].indexOf(&quot;itag=&quot;) == 0)
 fmt = parseInt(args[j].substring(5));
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5[i].u }, url: formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;) };
 }
 }
 else
 compatError();
 
 if (fmtStreamMap)
 if (fmtStreamMap[0] == &quot;&quot;)
 {
 if (!videoId || !token)
 return compatError();
 ytd.formats[0].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token;
 ytd.formats[0].guessed = true;
 }
 else
 {
 var lastQLevel = 99;
 for (var fmt in fmtStreamMap)
 {
 fmt = fmtStreamMap[fmt].split(&quot;|&quot;);
 var url = fmt[1] + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 fmt = parseInt(fmt[0]);
 
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = url;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: &quot;Unknown Format&quot; }, url: url };
 }
 }
 
 var recommended;
 var highestQLevel = -1;
 var formatList = new Array();
 var formatListMobile = new Array();
 ytd.watchedFmts = new Array();
 for (var fmt in ytd.formats)
 if (ytd.formats[fmt].url)
 {
 if (isWidescreen &amp;&amp; ytd.formats[fmt].mres)
 ytd.formats[fmt].mres = ytd.formats[fmt].wmres;
 if (ytd.formats[fmt].mobile)
 formatListMobile[formatListMobile.length] = ytd.formats[fmt];
 else
 {
 if (ytd.formats[fmt].quality.level &gt; highestQLevel)
 {
 highestQLevel = ytd.formats[fmt].quality.level;
 recommended = ytd.formats[fmt];
 }
 formatList[formatList.length] = ytd.formats[fmt];
 }
 if (ytd.formats[fmt].guessed)
 ytd.watchedFmts.push(ytd.formats[fmt].fmt);
 }
 if (recommended)
 recommended.recommended = true;
 formatList.sort(function(a, b) {return b.quality.level - a.quality.level;});
 formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;});
 dlButton.setAttribute(&quot;data-ytd-watched&quot;, ytd.watchedFmts.join(&quot; &quot;));
 
 var formatDiv = document.createElement(&quot;div&quot;);
 formatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 formatDiv.style.fontSize = &quot;smaller&quot;;
 formatDiv.style.fontWeight = &quot;bold&quot;;
 formatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 formatDiv.style.cursor = &quot;default&quot;;
 var formatSpan = document.createElement(&quot;span&quot;);
 if (formatList.length)
 formatSpan.appendChild(document.createTextNode(&quot;Выберите формат для загрузки:&quot;));
 else
 formatSpan.appendChild(document.createTextNode(&quot;Ошибка: Нет форматов для загрузки.&quot;));
 formatDiv.appendChild(formatSpan);
 dlButtonMenu.appendChild(formatDiv);
 
 for (var fmt in formatList)
 dlButtonMenu.appendChild(createDLLink(formatList[fmt]));
 
 if (formatListMobile.length)
 {
 var mFormatDiv = document.createElement(&quot;div&quot;);
 mFormatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 mFormatDiv.style.fontSize = &quot;smaller&quot;;
 mFormatDiv.style.fontWeight = &quot;bold&quot;;
 mFormatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 mFormatDiv.style.cursor = &quot;default&quot;;
 var mFormatSpan = document.createElement(&quot;span&quot;);
 mFormatSpan.appendChild(document.createTextNode(&quot;Или выберите совместимый с мобильным телефоном формат 3GP:&quot;));
 mFormatDiv.appendChild(mFormatSpan);
 dlButtonMenu.appendChild(mFormatDiv);
 
 for (var fmt in formatListMobile)
 dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt]));
 }
 
 if (updateNeeded == true || checkUpdates == true)
 {
 var updateDiv = document.createElement(&quot;div&quot;);
 updateDiv.className = &quot;yt-uix-button-menu-item ytd-update-div&quot;;
 updateDiv.style.fontSize = &quot;smaller&quot;;
 updateDiv.style.fontWeight = &quot;bold&quot;;
 updateDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 updateDiv.style.cursor = &quot;default&quot;;
 if (checkUpdates == true)
 updateDiv.style.display = &quot;none&quot;;
 var updateSpan = document.createElement(&quot;span&quot;);
 updateSpan.appendChild(document.createTextNode(&quot;Доступна новая версия YouTube Video Download&quot;));
 updateDiv.appendChild(updateSpan);
 dlButtonMenu.appendChild(updateDiv);
 
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item ytd-update-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 if (checkUpdates == true)
 linkA.style.display = &quot;none&quot;;
 linkA.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/source/62634.user.js&quot;);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(&quot;Нажмите здесь для обновления&quot;));
 linkA.appendChild(linkSpan);
 dlButtonMenu.appendChild(linkA);
 }
})((new Boolean(false)), (new Boolean(false)));&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function(checkUpdates, updateNeeded) {
 function compatError()
 {
 // var pageBody = document.getElementsByTagName(&quot;body&quot;)[0];
 // var firstChild = pageBody.firstChild;
 // pageBody.insertBefore(document.createTextNode(&quot;Error: YouTube has been updated and YouTube Video Download is no longer compatible. &quot;), firstChild);
 // var errorLink = document.createElement(&quot;a&quot;);
 // errorLink.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/show/62634&quot;);
 // errorLink.setAttribute(&quot;target&quot;, &quot;_blank&quot;);
 // errorLink.appendChild(document.createTextNode(&quot;Please click here to check for updates.&quot;));
 // pageBody.insertBefore(errorLink, firstChild);
 }
 
 function getElem(id)
 {
 var ret;
 if (!(ret = document.getElementById(id)))
 compatError();
 else
 return ret;
 }
 
 function createDLLink(format)
 {
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item &quot; + &quot;ytd-&quot; + format.fmt + &quot;-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 linkA.setAttribute(&quot;href&quot;, format.url);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(format.quality.description + (format.format &amp;&amp; !format.mobile ? &quot; &quot; + format.format : &quot;&quot;)));
 linkA.appendChild(linkSpan);
 
 var infoSpan = document.createElement(&quot;span&quot;);
 infoSpan.style.color = &quot;darkgrey&quot;;
 infoSpan.appendChild(document.createTextNode((format.mres ? &quot; &quot; + format.mres.width + &quot;x&quot; + format.mres.height : &quot;&quot;) + (format.vcodec ? &quot; &quot; + format.vcodec + (format.acodec ? &quot;/&quot; + format.acodec: &quot;&quot;) : &quot; (Format &quot; + format.fmt + &quot;)&quot;)));
 linkA.appendChild(infoSpan);
 
 if (format.guessed)
 {
 var tipSpan = document.createElement(&quot;span&quot;);
 linkA.appendChild(document.createElement(&quot;br&quot;));
 tipSpan.style.fontSize = &quot;smaller&quot;;
 tipSpan.style.color = &quot;darkgrey&quot;;
 tipSpan.className = &quot;ytd-link-guessed-tip&quot;;
 tipSpan.appendChild(document.createTextNode(&quot;(Нажмите ПКМ и выберите &amp;#92;&quot;Сохранить по ссылке как...&amp;#92;&quot;, чтобы загрузить этот формат)&quot;));
 linkA.appendChild(tipSpan);
 }
 return linkA;
 }
 
 window.ytd = {formats: {
 0: { fmt: 0 , quality: { level: 0, recdl: false, description: &quot;Low Quality (rename to video.flv)&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 2: { fmt: 2 , quality: { level: 0, recdl: false, description: &quot;Official Download Format&quot; }, format: &quot;(Unknown)&quot;, vcodec: &quot;Doesn&apos;t work&quot; },
 5: { fmt: 5 , quality: { level: 1, recdl: false, description: &quot;Low Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 6: { fmt: 6 , quality: { level: 2, recdl: false, description: &quot;High Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 } , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 13: { fmt: 13, quality: { level: 1, recdl: false, description: &quot;Low Quality H.263&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;8kHz, mono&quot; , acodec: &quot;SAMR&quot; , vcodec: &quot;H.263&quot; },
 15: { fmt: 15, quality: { level: -1, recdl: true, description: &quot;Original Upload Format&quot; }, format: &quot;(Unknown)&quot; },
 17: { fmt: 17, quality: { level: 2, recdl: false, description: &quot;Low Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 18: { fmt: 18, quality: { level: 5, recdl: true , description: &quot;iPod Compatible, High Quality&quot; }, format: &quot;MP4&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 }, aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 22: { fmt: 22, quality: { level: 8, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;MP4&quot; , vres: 720 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 34: { fmt: 34, quality: { level: 4, recdl: false, description: &quot;Low Definition, 360p&quot; }, format: &quot;FLV&quot; , vres: 360 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 35: { fmt: 35, quality: { level: 6, recdl: true , description: &quot;Standard Definition, 480p&quot; }, format: &quot;FLV&quot; , vres: 480 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 36: { fmt: 36, quality: { level: 3, recdl: true , description: &quot;High Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 320, height: 240 }, wmres: { width: 320, height: 240 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 37: { fmt: 37, quality: { level: 9, recdl: true , description: &quot;Full High Definition, 1080p&quot; }, format: &quot;MP4&quot; , vres: 1080 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 43: { fmt: 43, quality: { level: 3, recdl: true , description: &quot;Low Definition, 360p&quot; }, format: &quot;WebM&quot;, vres: 360 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 45: { fmt: 45, quality: { level: 7, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;WebM&quot;, vres: 720 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 },
 loadDownloadMenu: function() {
 var container = document.getElementById(&quot;watch-actions-area-container&quot;);
 if (container)
 {
 var cClasses = container.className.split(&quot; &quot;);
 var collapsed = false;
 for (var i = 0; i &lt; cClasses.length; i ++)
 if (cClasses[i] == &quot;collapsed&quot;)
 collapsed = true;
 if (!collapsed)
 container.className += &quot; collapsed&quot;;
 
 var watchTabs = [&quot;watch-like&quot;, &quot;watch-unlike&quot;, &quot;watch-share&quot;, &quot;watch-embed&quot;, &quot;watch-flag&quot;];
 for (var i = 0; i &lt; watchTabs.length; i ++)
 {
 var tab = document.getElementById(watchTabs[i]);
 if (tab)
 {
 var tClasses = tab.className.split(&quot; &quot;);
 for (var j = 0; i &lt; tClasses.length; i ++)
 if (tClasses[i] == &quot;active&quot;)
 tClasses.splice(i, 1);
 tab.className = tClasses.join(&quot; &quot;);
 }
 }
 }
 
 if (document.getElementById(&quot;ytd-watch-download-button&quot;).getAttribute(&quot;data-ytd-new-version&quot;) == &quot;yes&quot;)
 {
 var updateDivs = document.getElementsByClassName(&quot;ytd-update-div&quot;);
 for (var i = 0; i &lt; updateDivs.length; i ++)
 updateDivs[i].style.display = &quot;&quot;;
 
 var updateLinks = document.getElementsByClassName(&quot;ytd-update-link&quot;);
 for (var i = 0; i &lt; updateLinks.length; i ++)
 updateLinks[i].style.display = &quot;&quot;;
 }
 },
 };
 
 var dlButton = document.createElement(&quot;button&quot;);
 dlButton.setAttribute(&quot;id&quot;, &quot;ytd-watch-download-button&quot;);
 dlButton.className = &quot;yt-uix-button yt-uix-tooltip&quot;;
 dlButton.setAttribute(&quot;data-button-action&quot;, &quot;ytd.loadDownloadMenu&quot;);
 dlButton.setAttribute(&quot;title&quot;, &quot;Сохранить видео на жесткий диск&quot;);
 dlButton.setAttribute(&quot;type&quot;, &quot;button&quot;);
 dlButton.setAttribute(&quot;onclick&quot;, &quot;; return false;&quot;);
 ytd.dlButton = dlButton;
 
 var dlButtonContent = document.createElement(&quot;span&quot;);
 dlButtonContent.className = &quot;yt-uix-button-content&quot;;
 dlButtonContent.appendChild(document.createTextNode(&quot;Скачать&quot;));
 dlButton.appendChild(dlButtonContent);
 dlButton.appendChild(document.createTextNode(&quot; &quot;));
 
 var dlButtonArrow = document.createElement(&quot;img&quot;);
 dlButtonArrow.className = &quot;yt-uix-button-arrow&quot;;
 dlButtonArrow.setAttribute(&quot;src&quot;, &quot;http://s.ytimg.com/yt/img/pixel-vfl73.gif&quot;);
 dlButtonArrow.setAttribute(&quot;alt&quot;, &quot;&quot;);
 dlButton.appendChild(dlButtonArrow);
 
 var dlButtonMenu = document.createElement(&quot;div&quot;);
 dlButtonMenu.className = &quot; yt-uix-button-menu&quot;;
 dlButtonMenu.style.display = &quot;none&quot;;
 dlButtonMenu.style.backgroundColor = &quot;#EBEBEB&quot;;
 dlButton.appendChild(dlButtonMenu);
 
 var watchEmbed = getElem(&quot;watch-embed&quot;);
 watchEmbed.parentNode.insertBefore(dlButton, watchEmbed);
 watchEmbed.parentNode.insertBefore(document.createTextNode(&quot; &quot;), watchEmbed);
 
 if (document.documentElement.getAttribute(&quot;lang&quot;) == &quot;fr&quot;)
 {
 var watchShare = document.getElementById(&quot;watch-share&quot;);
 if (watchShare)
 {
 var img = watchShare.getElementsByTagName(&quot;img&quot;)[0];
 if (img)
 img.style.display = &quot;none&quot;;
 }
 }
 
 var swfArgs = new Array();
 var moviePlayer = document.getElementById(&quot;movie_player&quot;);
 var fmtStreamMap = false;
 var videoId;
 var token;
 
 if (yt.getConfig(&quot;SWF_CONFIG&quot;))
 {
 swfArgs = yt.getConfig(&quot;SWF_CONFIG&quot;).args;
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = fmtStreamMap.split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (moviePlayer)
 {
 var flashvars = getElem(&quot;movie_player&quot;).getAttribute(&quot;flashvars&quot;).split(&quot;&amp;&quot;);
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (typeof videoPlayer == &quot;undefined&quot; &amp;&amp; document.getElementById(&quot;watch-player&quot;) &amp;&amp; document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;).length)
 {
 var flashvars = document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;)[0].textContent;
 flashvars = flashvars.substring(flashvars.indexOf(&quot;flashvars=&amp;#92;&amp;#92;&amp;#92;&quot;&quot;) + 12);
 flashvars = flashvars.substring(0, flashvars.indexOf(&quot;&amp;#92;&quot;&quot;)).split(&quot;&amp;&quot;);
 
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 
 var isWidescreen = yt.getConfig(&apos;IS_WIDESCREEN&apos;);
 var title = getElem(&quot;watch-headline-title&quot;).textContent;
 if (title)
 title = title.replace(/^&amp;#92;s&amp;#92;s*/, &quot;&quot;).replace(/&amp;#92;s&amp;#92;s*$/, &quot;&quot;).replace(/&quot;/g, &quot;-&quot;).replace(/%/g, &quot;%25&quot;).replace(/=/g, &quot;%3D&quot;).replace(/,/g, &quot;%2C&quot;).replace(/&amp;/g, &quot;%26&quot;).replace(/#/g, &quot;%23&quot;).replace(/&amp;#92;?/g, &quot;%3F&quot;).replace(/&amp;#92;//g, &quot;_&quot;).replace(/&amp;#92;&amp;#92;/g, &quot;_&quot;).replace(/ /g, &quot;+&quot;);
 ytd.title = title;
 dlButton.setAttribute(&quot;data-ytd-title&quot;, title);
 
 if (videoId &amp;&amp; token)
 {
 ytd.formats[5].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=5&quot;;
 ytd.formats[5].guessed = true;
 
 ytd.formats[18].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=18&quot;;
 ytd.formats[18].guessed = true;
 
 ytd.formats[13].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=13&quot;;
 ytd.formats[13].guessed = true;
 
 ytd.formats[17].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=17&quot;;
 ytd.formats[17].guessed = true;
 
 ytd.formats[36].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=36&quot;;
 ytd.formats[36].guessed = true;
 
 if (yt.getConfig(&apos;IS_HD_AVAILABLE&apos;))
 {
 ytd.formats[22].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=22&quot;;
 ytd.formats[22].guessed = true;
 }
 }
 
 var dlLink;
 if ((dlLink = document.getElementById(&quot;download-hq-button&quot;)) &amp;&amp; (dlLink = dlLink.getAttribute(&quot;href&quot;)) &amp;&amp; dlLink.indexOf(&quot;.youtube.com/videoplayback?&quot;) + 1)
 {
 var url = dlLink.split(&apos;?&apos;)[0];
 var args = dlLink.substring(url.length + 1).split(&apos;&amp;&apos;);
 var titleChangable = true;
 var fmt = 18;
 if (title)
 for (var arg in args)
 {
 arg = args[arg];
 if (arg.indexOf(&quot;sparams=&quot;) == 0)
 {
 var sparams = unescape(arg.substring(8)).split(&apos;,&apos;);
 for (var sparam in sparams)
 if (sparams[sparam] == &quot;title&quot;)
 {
 titleChangable = false;
 break;
 }
 break;
 }
 }
 dlLink = url + &quot;?&quot;;
 for (var arg in args)
 {
 if (title &amp;&amp; titleChangable &amp;&amp; args[arg].indexOf(&quot;title=&quot;) == 0)
 args[arg] = &quot;title=&quot; + title;
 else if (args[arg].indexOf(&quot;itag=&quot;) == 0)
 if (!(fmt = parseInt(args[arg].substring(5))))
 fmt = 18;
 dlLink += args[arg];
 if (arg &lt; args.length - 1)
 dlLink += &quot;&amp;&quot;;
 }
 if (ytd.formats[fmt])
 {
 ytd.formats[fmt].url = dlLink;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.2, description: &quot;Official Download Format&quot; }, url: dlLink };
 }
 
 if (typeof videoPlayer != &quot;undefined&quot;)
 if (videoPlayer &amp;&amp; videoPlayer.V &amp;&amp; videoPlayer.V[0] &amp;&amp; videoPlayer.V[0].xb)
 {
 var formats5 = videoPlayer.V;
 var lastQLevel = 99;
 for (var i = 0; i &lt; formats5.length; i ++)
 {
 var args = formats5[i].xb.substring(formats5[i].xb.indexOf(&quot;?&quot;) + 1).split(&quot;&amp;&quot;);
 var fmt;
 for (var j = 0; j &lt; args.length; j ++)
 if (args[j].indexOf(&quot;itag=&quot;) == 0)
 fmt = parseInt(args[j].substring(5));
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5[i].u }, url: formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;) };
 }
 }
 else
 compatError();
 
 if (fmtStreamMap)
 if (fmtStreamMap[0] == &quot;&quot;)
 {
 if (!videoId || !token)
 return compatError();
 ytd.formats[0].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token;
 ytd.formats[0].guessed = true;
 }
 else
 {
 var lastQLevel = 99;
 for (var fmt in fmtStreamMap)
 {
 fmt = fmtStreamMap[fmt].split(&quot;|&quot;);
 var url = fmt[1] + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 fmt = parseInt(fmt[0]);
 
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = url;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: &quot;Unknown Format&quot; }, url: url };
 }
 }
 
 var recommended;
 var highestQLevel = -1;
 var formatList = new Array();
 var formatListMobile = new Array();
 ytd.watchedFmts = new Array();
 for (var fmt in ytd.formats)
 if (ytd.formats[fmt].url)
 {
 if (isWidescreen &amp;&amp; ytd.formats[fmt].mres)
 ytd.formats[fmt].mres = ytd.formats[fmt].wmres;
 if (ytd.formats[fmt].mobile)
 formatListMobile[formatListMobile.length] = ytd.formats[fmt];
 else
 {
 if (ytd.formats[fmt].quality.level &gt; highestQLevel)
 {
 highestQLevel = ytd.formats[fmt].quality.level;
 recommended = ytd.formats[fmt];
 }
 formatList[formatList.length] = ytd.formats[fmt];
 }
 if (ytd.formats[fmt].guessed)
 ytd.watchedFmts.push(ytd.formats[fmt].fmt);
 }
 if (recommended)
 recommended.recommended = true;
 formatList.sort(function(a, b) {return b.quality.level - a.quality.level;});
 formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;});
 dlButton.setAttribute(&quot;data-ytd-watched&quot;, ytd.watchedFmts.join(&quot; &quot;));
 
 var formatDiv = document.createElement(&quot;div&quot;);
 formatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 formatDiv.style.fontSize = &quot;smaller&quot;;
 formatDiv.style.fontWeight = &quot;bold&quot;;
 formatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 formatDiv.style.cursor = &quot;default&quot;;
 var formatSpan = document.createElement(&quot;span&quot;);
 if (formatList.length)
 formatSpan.appendChild(document.createTextNode(&quot;Выберите формат для загрузки:&quot;));
 else
 formatSpan.appendChild(document.createTextNode(&quot;Ошибка: Нет форматов для загрузки.&quot;));
 formatDiv.appendChild(formatSpan);
 dlButtonMenu.appendChild(formatDiv);
 
 for (var fmt in formatList)
 dlButtonMenu.appendChild(createDLLink(formatList[fmt]));
 
 if (formatListMobile.length)
 {
 var mFormatDiv = document.createElement(&quot;div&quot;);
 mFormatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 mFormatDiv.style.fontSize = &quot;smaller&quot;;
 mFormatDiv.style.fontWeight = &quot;bold&quot;;
 mFormatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 mFormatDiv.style.cursor = &quot;default&quot;;
 var mFormatSpan = document.createElement(&quot;span&quot;);
 mFormatSpan.appendChild(document.createTextNode(&quot;Или выберите совместимый с мобильным телефоном формат 3GP:&quot;));
 mFormatDiv.appendChild(mFormatSpan);
 dlButtonMenu.appendChild(mFormatDiv);
 
 for (var fmt in formatListMobile)
 dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt]));
 }
 
 if (updateNeeded == true || checkUpdates == true)
 {
 var updateDiv = document.createElement(&quot;div&quot;);
 updateDiv.className = &quot;yt-uix-button-menu-item ytd-update-div&quot;;
 updateDiv.style.fontSize = &quot;smaller&quot;;
 updateDiv.style.fontWeight = &quot;bold&quot;;
 updateDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 updateDiv.style.cursor = &quot;default&quot;;
 if (checkUpdates == true)
 updateDiv.style.display = &quot;none&quot;;
 var updateSpan = document.createElement(&quot;span&quot;);
 updateSpan.appendChild(document.createTextNode(&quot;Доступна новая версия YouTube Video Download&quot;));
 updateDiv.appendChild(updateSpan);
 dlButtonMenu.appendChild(updateDiv);
 
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item ytd-update-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 if (checkUpdates == true)
 linkA.style.display = &quot;none&quot;;
 linkA.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/source/62634.user.js&quot;);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(&quot;Нажмите здесь для обновления&quot;));
 linkA.appendChild(linkSpan);
 dlButtonMenu.appendChild(linkA);
 }
})((new Boolean(false)), (new Boolean(false)));&lt;/script&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function(checkUpdates, updateNeeded) {
 function compatError()
 {
 // var pageBody = document.getElementsByTagName(&quot;body&quot;)[0];
 // var firstChild = pageBody.firstChild;
 // pageBody.insertBefore(document.createTextNode(&quot;Error: YouTube has been updated and YouTube Video Download is no longer compatible. &quot;), firstChild);
 // var errorLink = document.createElement(&quot;a&quot;);
 // errorLink.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/show/62634&quot;);
 // errorLink.setAttribute(&quot;target&quot;, &quot;_blank&quot;);
 // errorLink.appendChild(document.createTextNode(&quot;Please click here to check for updates.&quot;));
 // pageBody.insertBefore(errorLink, firstChild);
 }
 
 function getElem(id)
 {
 var ret;
 if (!(ret = document.getElementById(id)))
 compatError();
 else
 return ret;
 }
 
 function createDLLink(format)
 {
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item &quot; + &quot;ytd-&quot; + format.fmt + &quot;-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 linkA.setAttribute(&quot;href&quot;, format.url);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(format.quality.description + (format.format &amp;&amp; !format.mobile ? &quot; &quot; + format.format : &quot;&quot;)));
 linkA.appendChild(linkSpan);
 
 var infoSpan = document.createElement(&quot;span&quot;);
 infoSpan.style.color = &quot;darkgrey&quot;;
 infoSpan.appendChild(document.createTextNode((format.mres ? &quot; &quot; + format.mres.width + &quot;x&quot; + format.mres.height : &quot;&quot;) + (format.vcodec ? &quot; &quot; + format.vcodec + (format.acodec ? &quot;/&quot; + format.acodec: &quot;&quot;) : &quot; (Format &quot; + format.fmt + &quot;)&quot;)));
 linkA.appendChild(infoSpan);
 
 if (format.guessed)
 {
 var tipSpan = document.createElement(&quot;span&quot;);
 linkA.appendChild(document.createElement(&quot;br&quot;));
 tipSpan.style.fontSize = &quot;smaller&quot;;
 tipSpan.style.color = &quot;darkgrey&quot;;
 tipSpan.className = &quot;ytd-link-guessed-tip&quot;;
 tipSpan.appendChild(document.createTextNode(&quot;(Нажмите ПКМ и выберите &amp;#92;&quot;Сохранить по ссылке как...&amp;#92;&quot;, чтобы загрузить этот формат)&quot;));
 linkA.appendChild(tipSpan);
 }
 return linkA;
 }
 
 window.ytd = {formats: {
 0: { fmt: 0 , quality: { level: 0, recdl: false, description: &quot;Low Quality (rename to video.flv)&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 2: { fmt: 2 , quality: { level: 0, recdl: false, description: &quot;Official Download Format&quot; }, format: &quot;(Unknown)&quot;, vcodec: &quot;Doesn&apos;t work&quot; },
 5: { fmt: 5 , quality: { level: 1, recdl: false, description: &quot;Low Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 6: { fmt: 6 , quality: { level: 2, recdl: false, description: &quot;High Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 } , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 13: { fmt: 13, quality: { level: 1, recdl: false, description: &quot;Low Quality H.263&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;8kHz, mono&quot; , acodec: &quot;SAMR&quot; , vcodec: &quot;H.263&quot; },
 15: { fmt: 15, quality: { level: -1, recdl: true, description: &quot;Original Upload Format&quot; }, format: &quot;(Unknown)&quot; },
 17: { fmt: 17, quality: { level: 2, recdl: false, description: &quot;Low Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 18: { fmt: 18, quality: { level: 5, recdl: true , description: &quot;iPod Compatible, High Quality&quot; }, format: &quot;MP4&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 }, aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 22: { fmt: 22, quality: { level: 8, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;MP4&quot; , vres: 720 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 34: { fmt: 34, quality: { level: 4, recdl: false, description: &quot;Low Definition, 360p&quot; }, format: &quot;FLV&quot; , vres: 360 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 35: { fmt: 35, quality: { level: 6, recdl: true , description: &quot;Standard Definition, 480p&quot; }, format: &quot;FLV&quot; , vres: 480 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 36: { fmt: 36, quality: { level: 3, recdl: true , description: &quot;High Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 320, height: 240 }, wmres: { width: 320, height: 240 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 37: { fmt: 37, quality: { level: 9, recdl: true , description: &quot;Full High Definition, 1080p&quot; }, format: &quot;MP4&quot; , vres: 1080 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 43: { fmt: 43, quality: { level: 3, recdl: true , description: &quot;Low Definition, 360p&quot; }, format: &quot;WebM&quot;, vres: 360 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 45: { fmt: 45, quality: { level: 7, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;WebM&quot;, vres: 720 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 },
 loadDownloadMenu: function() {
 var container = document.getElementById(&quot;watch-actions-area-container&quot;);
 if (container)
 {
 var cClasses = container.className.split(&quot; &quot;);
 var collapsed = false;
 for (var i = 0; i &lt; cClasses.length; i ++)
 if (cClasses[i] == &quot;collapsed&quot;)
 collapsed = true;
 if (!collapsed)
 container.className += &quot; collapsed&quot;;
 
 var watchTabs = [&quot;watch-like&quot;, &quot;watch-unlike&quot;, &quot;watch-share&quot;, &quot;watch-embed&quot;, &quot;watch-flag&quot;];
 for (var i = 0; i &lt; watchTabs.length; i ++)
 {
 var tab = document.getElementById(watchTabs[i]);
 if (tab)
 {
 var tClasses = tab.className.split(&quot; &quot;);
 for (var j = 0; i &lt; tClasses.length; i ++)
 if (tClasses[i] == &quot;active&quot;)
 tClasses.splice(i, 1);
 tab.className = tClasses.join(&quot; &quot;);
 }
 }
 }
 
 if (document.getElementById(&quot;ytd-watch-download-button&quot;).getAttribute(&quot;data-ytd-new-version&quot;) == &quot;yes&quot;)
 {
 var updateDivs = document.getElementsByClassName(&quot;ytd-update-div&quot;);
 for (var i = 0; i &lt; updateDivs.length; i ++)
 updateDivs[i].style.display = &quot;&quot;;
 
 var updateLinks = document.getElementsByClassName(&quot;ytd-update-link&quot;);
 for (var i = 0; i &lt; updateLinks.length; i ++)
 updateLinks[i].style.display = &quot;&quot;;
 }
 },
 };
 
 var dlButton = document.createElement(&quot;button&quot;);
 dlButton.setAttribute(&quot;id&quot;, &quot;ytd-watch-download-button&quot;);
 dlButton.className = &quot;yt-uix-button yt-uix-tooltip&quot;;
 dlButton.setAttribute(&quot;data-button-action&quot;, &quot;ytd.loadDownloadMenu&quot;);
 dlButton.setAttribute(&quot;title&quot;, &quot;Сохранить видео на жесткий диск&quot;);
 dlButton.setAttribute(&quot;type&quot;, &quot;button&quot;);
 dlButton.setAttribute(&quot;onclick&quot;, &quot;; return false;&quot;);
 ytd.dlButton = dlButton;
 
 var dlButtonContent = document.createElement(&quot;span&quot;);
 dlButtonContent.className = &quot;yt-uix-button-content&quot;;
 dlButtonContent.appendChild(document.createTextNode(&quot;Скачать&quot;));
 dlButton.appendChild(dlButtonContent);
 dlButton.appendChild(document.createTextNode(&quot; &quot;));
 
 var dlButtonArrow = document.createElement(&quot;img&quot;);
 dlButtonArrow.className = &quot;yt-uix-button-arrow&quot;;
 dlButtonArrow.setAttribute(&quot;src&quot;, &quot;http://s.ytimg.com/yt/img/pixel-vfl73.gif&quot;);
 dlButtonArrow.setAttribute(&quot;alt&quot;, &quot;&quot;);
 dlButton.appendChild(dlButtonArrow);
 
 var dlButtonMenu = document.createElement(&quot;div&quot;);
 dlButtonMenu.className = &quot; yt-uix-button-menu&quot;;
 dlButtonMenu.style.display = &quot;none&quot;;
 dlButtonMenu.style.backgroundColor = &quot;#EBEBEB&quot;;
 dlButton.appendChild(dlButtonMenu);
 
 var watchEmbed = getElem(&quot;watch-embed&quot;);
 watchEmbed.parentNode.insertBefore(dlButton, watchEmbed);
 watchEmbed.parentNode.insertBefore(document.createTextNode(&quot; &quot;), watchEmbed);
 
 if (document.documentElement.getAttribute(&quot;lang&quot;) == &quot;fr&quot;)
 {
 var watchShare = document.getElementById(&quot;watch-share&quot;);
 if (watchShare)
 {
 var img = watchShare.getElementsByTagName(&quot;img&quot;)[0];
 if (img)
 img.style.display = &quot;none&quot;;
 }
 }
 
 var swfArgs = new Array();
 var moviePlayer = document.getElementById(&quot;movie_player&quot;);
 var fmtStreamMap = false;
 var videoId;
 var token;
 
 if (yt.getConfig(&quot;SWF_CONFIG&quot;))
 {
 swfArgs = yt.getConfig(&quot;SWF_CONFIG&quot;).args;
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = fmtStreamMap.split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (moviePlayer)
 {
 var flashvars = getElem(&quot;movie_player&quot;).getAttribute(&quot;flashvars&quot;).split(&quot;&amp;&quot;);
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (typeof videoPlayer == &quot;undefined&quot; &amp;&amp; document.getElementById(&quot;watch-player&quot;) &amp;&amp; document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;).length)
 {
 var flashvars = document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;)[0].textContent;
 flashvars = flashvars.substring(flashvars.indexOf(&quot;flashvars=&amp;#92;&amp;#92;&amp;#92;&quot;&quot;) + 12);
 flashvars = flashvars.substring(0, flashvars.indexOf(&quot;&amp;#92;&quot;&quot;)).split(&quot;&amp;&quot;);
 
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 
 var isWidescreen = yt.getConfig(&apos;IS_WIDESCREEN&apos;);
 var title = getElem(&quot;watch-headline-title&quot;).textContent;
 if (title)
 title = title.replace(/^&amp;#92;s&amp;#92;s*/, &quot;&quot;).replace(/&amp;#92;s&amp;#92;s*$/, &quot;&quot;).replace(/&quot;/g, &quot;-&quot;).replace(/%/g, &quot;%25&quot;).replace(/=/g, &quot;%3D&quot;).replace(/,/g, &quot;%2C&quot;).replace(/&amp;/g, &quot;%26&quot;).replace(/#/g, &quot;%23&quot;).replace(/&amp;#92;?/g, &quot;%3F&quot;).replace(/&amp;#92;//g, &quot;_&quot;).replace(/&amp;#92;&amp;#92;/g, &quot;_&quot;).replace(/ /g, &quot;+&quot;);
 ytd.title = title;
 dlButton.setAttribute(&quot;data-ytd-title&quot;, title);
 
 if (videoId &amp;&amp; token)
 {
 ytd.formats[5].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=5&quot;;
 ytd.formats[5].guessed = true;
 
 ytd.formats[18].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=18&quot;;
 ytd.formats[18].guessed = true;
 
 ytd.formats[13].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=13&quot;;
 ytd.formats[13].guessed = true;
 
 ytd.formats[17].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=17&quot;;
 ytd.formats[17].guessed = true;
 
 ytd.formats[36].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=36&quot;;
 ytd.formats[36].guessed = true;
 
 if (yt.getConfig(&apos;IS_HD_AVAILABLE&apos;))
 {
 ytd.formats[22].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=22&quot;;
 ytd.formats[22].guessed = true;
 }
 }
 
 var dlLink;
 if ((dlLink = document.getElementById(&quot;download-hq-button&quot;)) &amp;&amp; (dlLink = dlLink.getAttribute(&quot;href&quot;)) &amp;&amp; dlLink.indexOf(&quot;.youtube.com/videoplayback?&quot;) + 1)
 {
 var url = dlLink.split(&apos;?&apos;)[0];
 var args = dlLink.substring(url.length + 1).split(&apos;&amp;&apos;);
 var titleChangable = true;
 var fmt = 18;
 if (title)
 for (var arg in args)
 {
 arg = args[arg];
 if (arg.indexOf(&quot;sparams=&quot;) == 0)
 {
 var sparams = unescape(arg.substring(8)).split(&apos;,&apos;);
 for (var sparam in sparams)
 if (sparams[sparam] == &quot;title&quot;)
 {
 titleChangable = false;
 break;
 }
 break;
 }
 }
 dlLink = url + &quot;?&quot;;
 for (var arg in args)
 {
 if (title &amp;&amp; titleChangable &amp;&amp; args[arg].indexOf(&quot;title=&quot;) == 0)
 args[arg] = &quot;title=&quot; + title;
 else if (args[arg].indexOf(&quot;itag=&quot;) == 0)
 if (!(fmt = parseInt(args[arg].substring(5))))
 fmt = 18;
 dlLink += args[arg];
 if (arg &lt; args.length - 1)
 dlLink += &quot;&amp;&quot;;
 }
 if (ytd.formats[fmt])
 {
 ytd.formats[fmt].url = dlLink;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.2, description: &quot;Official Download Format&quot; }, url: dlLink };
 }
 
 if (typeof videoPlayer != &quot;undefined&quot;)
 if (videoPlayer &amp;&amp; videoPlayer.V &amp;&amp; videoPlayer.V[0] &amp;&amp; videoPlayer.V[0].xb)
 {
 var formats5 = videoPlayer.V;
 var lastQLevel = 99;
 for (var i = 0; i &lt; formats5.length; i ++)
 {
 var args = formats5[i].xb.substring(formats5[i].xb.indexOf(&quot;?&quot;) + 1).split(&quot;&amp;&quot;);
 var fmt;
 for (var j = 0; j &lt; args.length; j ++)
 if (args[j].indexOf(&quot;itag=&quot;) == 0)
 fmt = parseInt(args[j].substring(5));
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5[i].u }, url: formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;) };
 }
 }
 else
 compatError();
 
 if (fmtStreamMap)
 if (fmtStreamMap[0] == &quot;&quot;)
 {
 if (!videoId || !token)
 return compatError();
 ytd.formats[0].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token;
 ytd.formats[0].guessed = true;
 }
 else
 {
 var lastQLevel = 99;
 for (var fmt in fmtStreamMap)
 {
 fmt = fmtStreamMap[fmt].split(&quot;|&quot;);
 var url = fmt[1] + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 fmt = parseInt(fmt[0]);
 
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = url;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: &quot;Unknown Format&quot; }, url: url };
 }
 }
 
 var recommended;
 var highestQLevel = -1;
 var formatList = new Array();
 var formatListMobile = new Array();
 ytd.watchedFmts = new Array();
 for (var fmt in ytd.formats)
 if (ytd.formats[fmt].url)
 {
 if (isWidescreen &amp;&amp; ytd.formats[fmt].mres)
 ytd.formats[fmt].mres = ytd.formats[fmt].wmres;
 if (ytd.formats[fmt].mobile)
 formatListMobile[formatListMobile.length] = ytd.formats[fmt];
 else
 {
 if (ytd.formats[fmt].quality.level &gt; highestQLevel)
 {
 highestQLevel = ytd.formats[fmt].quality.level;
 recommended = ytd.formats[fmt];
 }
 formatList[formatList.length] = ytd.formats[fmt];
 }
 if (ytd.formats[fmt].guessed)
 ytd.watchedFmts.push(ytd.formats[fmt].fmt);
 }
 if (recommended)
 recommended.recommended = true;
 formatList.sort(function(a, b) {return b.quality.level - a.quality.level;});
 formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;});
 dlButton.setAttribute(&quot;data-ytd-watched&quot;, ytd.watchedFmts.join(&quot; &quot;));
 
 var formatDiv = document.createElement(&quot;div&quot;);
 formatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 formatDiv.style.fontSize = &quot;smaller&quot;;
 formatDiv.style.fontWeight = &quot;bold&quot;;
 formatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 formatDiv.style.cursor = &quot;default&quot;;
 var formatSpan = document.createElement(&quot;span&quot;);
 if (formatList.length)
 formatSpan.appendChild(document.createTextNode(&quot;Выберите формат для загрузки:&quot;));
 else
 formatSpan.appendChild(document.createTextNode(&quot;Ошибка: Нет форматов для загрузки.&quot;));
 formatDiv.appendChild(formatSpan);
 dlButtonMenu.appendChild(formatDiv);
 
 for (var fmt in formatList)
 dlButtonMenu.appendChild(createDLLink(formatList[fmt]));
 
 if (formatListMobile.length)
 {
 var mFormatDiv = document.createElement(&quot;div&quot;);
 mFormatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 mFormatDiv.style.fontSize = &quot;smaller&quot;;
 mFormatDiv.style.fontWeight = &quot;bold&quot;;
 mFormatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 mFormatDiv.style.cursor = &quot;default&quot;;
 var mFormatSpan = document.createElement(&quot;span&quot;);
 mFormatSpan.appendChild(document.createTextNode(&quot;Или выберите совместимый с мобильным телефоном формат 3GP:&quot;));
 mFormatDiv.appendChild(mFormatSpan);
 dlButtonMenu.appendChild(mFormatDiv);
 
 for (var fmt in formatListMobile)
 dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt]));
 }
 
 if (updateNeeded == true || checkUpdates == true)
 {
 var updateDiv = document.createElement(&quot;div&quot;);
 updateDiv.className = &quot;yt-uix-button-menu-item ytd-update-div&quot;;
 updateDiv.style.fontSize = &quot;smaller&quot;;
 updateDiv.style.fontWeight = &quot;bold&quot;;
 updateDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 updateDiv.style.cursor = &quot;default&quot;;
 if (checkUpdates == true)
 updateDiv.style.display = &quot;none&quot;;
 var updateSpan = document.createElement(&quot;span&quot;);
 updateSpan.appendChild(document.createTextNode(&quot;Доступна новая версия YouTube Video Download&quot;));
 updateDiv.appendChild(updateSpan);
 dlButtonMenu.appendChild(updateDiv);
 
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item ytd-update-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 if (checkUpdates == true)
 linkA.style.display = &quot;none&quot;;
 linkA.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/source/62634.user.js&quot;);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(&quot;Нажмите здесь для обновления&quot;));
 linkA.appendChild(linkSpan);
 dlButtonMenu.appendChild(linkA);
 }
})((new Boolean(false)), (new Boolean(false)));&lt;/script&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/svjatkuvannja_velikodnja/2011-05-04-14</link>
			<dc:creator>svetaborch</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/svjatkuvannja_velikodnja/2011-05-04-14</guid>
			<pubDate>Wed, 04 May 2011 07:43:55 GMT</pubDate>
		</item>
		<item>
			<title>Весняна акція з благоустрою в районі.</title>
			<description>&lt;P&gt;&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/park/23&quot;&gt;&lt;IMG style=&quot;WIDTH: 358px; HEIGHT: 255px&quot; height=375 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/693984996.jpg&quot; width=499 align=left&gt;&lt;/A&gt;З&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&amp;nbsp;метою збереження і примноження зелених насаджень, поліпшення естетичного, санітарного стану об&apos;єктів масового перебування та відпочинку населення з 23 березня по 1 травня 2011 року&amp;nbsp; учні гімназії&amp;nbsp; прийняли участь в весняній акції з благоустрою в районі.&lt;/SPAN&gt;&lt;/P&gt;</description>
			<content:encoded>&lt;P&gt;&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/park/23&quot;&gt;&lt;IMG style=&quot;WIDTH: 358px; HEIGHT: 255px&quot; height=375 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/693984996.jpg&quot; width=499 align=left&gt;&lt;/A&gt;З&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;&amp;nbsp;метою збереження і примноження зелених насаджень, поліпшення естетичного, санітарного стану об&apos;єктів масового перебування та відпочинку населення з 23 березня по 1 травня 2011 року&amp;nbsp; учні гімназії&amp;nbsp; прийняли участь в весняній акції з благоустрою в районі.&lt;/SPAN&gt;&lt;/P&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/vesnjana_akcija_z_blagoustroju_v_rajoni/2011-04-29-13</link>
			<dc:creator>svetaborch</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/vesnjana_akcija_z_blagoustroju_v_rajoni/2011-04-29-13</guid>
			<pubDate>Fri, 29 Apr 2011 10:14:16 GMT</pubDate>
		</item>
		<item>
			<title>Семінар вчителів початкових класів.</title>
			<description>&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/seminar_vchiteliv_pochatkovikh_klasiv/22&quot;&gt;&lt;IMG style=&quot;WIDTH: 377px; HEIGHT: 264px&quot; height=1124 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/vlasko/IMG_1357.jpg&quot; width=1498 align=left&gt;&lt;/A&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;18 квітня в гімназії на базі 4 класу відбувся районний семінар вчителів початкових класів. &amp;nbsp;Власко Т.П. провела відкритий урок читання на тему: &quot; Людина починається з добра. В.Сухомлинський &quot;Усмішка&quot;.&lt;/SPAN&gt;</description>
			<content:encoded>&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/seminar_vchiteliv_pochatkovikh_klasiv/22&quot;&gt;&lt;IMG style=&quot;WIDTH: 377px; HEIGHT: 264px&quot; height=1124 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/vlasko/IMG_1357.jpg&quot; width=1498 align=left&gt;&lt;/A&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;18 квітня в гімназії на базі 4 класу відбувся районний семінар вчителів початкових класів. &amp;nbsp;Власко Т.П. провела відкритий урок читання на тему: &quot; Людина починається з добра. В.Сухомлинський &quot;Усмішка&quot;.&lt;/SPAN&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/seminar_vchiteliv_pochatkovikh_klasiv/2011-04-19-12</link>
			<dc:creator>svetaborch</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/seminar_vchiteliv_pochatkovikh_klasiv/2011-04-19-12</guid>
			<pubDate>Tue, 19 Apr 2011 11:35:27 GMT</pubDate>
		</item>
		<item>
			<title>Профорієнтаційна робота з випускниками.</title>
			<description>&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/proforientacija/21&quot;&gt;&lt;IMG style=&quot;MARGIN-RIGHT: 10px&quot; height=250 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/IMG_1096.jpg&quot; width=320 align=left&gt;&lt;/A&gt;&lt;SPAN style=&quot;FONT-SIZE: 14pt&quot;&gt;Учні 11 класу&amp;nbsp; за сприянням служби зайнятості відвідали Ічнянський РВУМНС України з метою ознайомлення зі специфікою роботи рятувальника.&lt;/SPAN&gt;</description>
			<content:encoded>&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/proforientacija/21&quot;&gt;&lt;IMG style=&quot;MARGIN-RIGHT: 10px&quot; height=250 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/IMG_1096.jpg&quot; width=320 align=left&gt;&lt;/A&gt;&lt;SPAN style=&quot;FONT-SIZE: 14pt&quot;&gt;Учні 11 класу&amp;nbsp; за сприянням служби зайнятості відвідали Ічнянський РВУМНС України з метою ознайомлення зі специфікою роботи рятувальника.&lt;/SPAN&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/proforientacijna_robota_z_vipusknikami/2011-04-13-11</link>
			<dc:creator>svetaborch</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/proforientacijna_robota_z_vipusknikami/2011-04-13-11</guid>
			<pubDate>Wed, 13 Apr 2011 10:51:22 GMT</pubDate>
		</item>
		<item>
			<title>Екскурсія до Густині</title>
			<description>&lt;div&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/pojizdka_u_gustin/20&quot;&gt;&lt;img style=&quot;margin-right: 10px&quot; height=&quot;250&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/IMG_1202.jpg&quot; width=&quot;350&quot; align=&quot;left&quot;&gt;&lt;/a&gt;&lt;span style=&quot;FONT-SIZE: 14pt&quot;&gt;12 квітня учні 10 Б класу разом з класним керівником Лисицею Л.М. та практичним психологом Грищенко Т.А. відвідали жіночий монастирь в Густині.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;</description>
			<content:encoded>&lt;div&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/pojizdka_u_gustin/20&quot;&gt;&lt;img style=&quot;margin-right: 10px&quot; height=&quot;250&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/IMG_1202.jpg&quot; width=&quot;350&quot; align=&quot;left&quot;&gt;&lt;/a&gt;&lt;span style=&quot;FONT-SIZE: 14pt&quot;&gt;12 квітня учні 10 Б класу разом з класним керівником Лисицею Л.М. та практичним психологом Грищенко Т.А. відвідали жіночий монастирь в Густині.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/ekskursija_do_gustini/2011-04-13-10</link>
			<dc:creator>ruslan</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/ekskursija_do_gustini/2011-04-13-10</guid>
			<pubDate>Wed, 13 Apr 2011 10:14:50 GMT</pubDate>
		</item>
		<item>
			<title>Семінар вчителів української мови та літератури</title>
			<description>&lt;div&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/seminar_vchiteliv_ukrajinskoji_movi_ta_literaturi/19&quot;&gt;&lt;img style=&quot;margin-right: 11px&quot; height=&quot;260&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/DSC03632.jpg&quot; width=&quot;375&quot; align=&quot;left&quot;&gt;&lt;/a&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;11 квітня в гімназії відбувся районний семінар вчителів української мови та літератури. Відкриті уроки провели вчителі:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Чумак Т.М. в 11 класі на тему &quot;Урок-захист проектів за романом у віршах Ліни Костенко &quot;Маруся Чурай&quot;;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Загребельна Т.І. в 10А класі на тему &quot;Конфлікт буденного життя і високими поривами душі особистості, дійсністю і мрією в драмі-феєрії Лесі Уркаїнки &quot;Лісова пісня&quot;.&lt;/span&gt;&lt;/div&gt;</description>
			<content:encoded>&lt;div&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/seminar_vchiteliv_ukrajinskoji_movi_ta_literaturi/19&quot;&gt;&lt;img style=&quot;margin-right: 11px&quot; height=&quot;260&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/DSC03632.jpg&quot; width=&quot;375&quot; align=&quot;left&quot;&gt;&lt;/a&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;11 квітня в гімназії відбувся районний семінар вчителів української мови та літератури. Відкриті уроки провели вчителі:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Чумак Т.М. в 11 класі на тему &quot;Урок-захист проектів за романом у віршах Ліни Костенко &quot;Маруся Чурай&quot;;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Загребельна Т.І. в 10А класі на тему &quot;Конфлікт буденного життя і високими поривами душі особистості, дійсністю і мрією в драмі-феєрії Лесі Уркаїнки &quot;Лісова пісня&quot;.&lt;/span&gt;&lt;/div&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/seminar_vchiteliv_ukrajinskoji_movi_ta_literaturi/2011-04-12-9</link>
			<dc:creator>ruslan</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/seminar_vchiteliv_ukrajinskoji_movi_ta_literaturi/2011-04-12-9</guid>
			<pubDate>Tue, 12 Apr 2011 10:50:49 GMT</pubDate>
		</item>
		<item>
			<title>Фотоконкурс</title>
			<description>&lt;P align=center&gt;&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/fotovistavka/18&quot;&gt;&lt;IMG height=186 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/DSC03637.jpg&quot; width=597 align=absBottom&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV align=center&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;З 4 по 8 квітня в гімназії проходив фотоконкурс &quot;Професія моїх батьків&quot; та &quot;Наші менші друзі&quot;. В цьому конкурсі прийняли участь учні 1-х - 11-х класів.&lt;/SPAN&gt;&lt;/DIV&gt;</description>
			<content:encoded>&lt;P align=center&gt;&lt;A href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/fotovistavka/18&quot;&gt;&lt;IMG height=186 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/DSC03637.jpg&quot; width=597 align=absBottom&gt;&lt;/A&gt;&lt;/P&gt;
&lt;DIV align=center&gt;&lt;SPAN style=&quot;FONT-SIZE: 12pt&quot;&gt;З 4 по 8 квітня в гімназії проходив фотоконкурс &quot;Професія моїх батьків&quot; та &quot;Наші менші друзі&quot;. В цьому конкурсі прийняли участь учні 1-х - 11-х класів.&lt;/SPAN&gt;&lt;/DIV&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/fotokonkurs/2011-04-12-8</link>
			<dc:creator>ruslan</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/fotokonkurs/2011-04-12-8</guid>
			<pubDate>Tue, 12 Apr 2011 10:31:46 GMT</pubDate>
		</item>
		<item>
			<title>Конкурс дитячої та юнацької творчості &quot;Чисті роси - 2011&quot;</title>
			<description>&lt;p align=&quot;left&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/teatralna_studija_quot_pershi_kroki_quot/17&quot;&gt;&lt;img style=&quot;WIDTH: 378px; MARGIN-RIGHT: 10px; HEIGHT: 285px&quot; height=&quot;275&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/DSC03662.jpg&quot; width=&quot;374&quot; align=&quot;left&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div align=&quot;center&quot;&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;19 березня відбувся районний конкурс дитячої та юнацької творчості &quot;Чисті роси - 2011&quot;. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Переможцями визначено:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;-у номінації &quot;вокальне мистецтво&quot; став вокальний ансамбль &quot;Джерельце&quot; (старша вікова група) керівник гуртка &quot;Орфей&quot; вчитель музики Чешко І.В.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;-у номінації &quot;театральне мистецтво&quot; театральна студія &quot;Перші кроки&quot; керівник гуртка вчитель зарубіжної літератури Салата В.І.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Було відзначено у номінації &quot;За кращу чоловічу роль&quot; Салату Валерія та Польовика Дмитра. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FO...</description>
			<content:encoded>&lt;p align=&quot;left&quot;&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/teatralna_studija_quot_pershi_kroki_quot/17&quot;&gt;&lt;img style=&quot;WIDTH: 378px; MARGIN-RIGHT: 10px; HEIGHT: 285px&quot; height=&quot;275&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/DSC03662.jpg&quot; width=&quot;374&quot; align=&quot;left&quot;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;div align=&quot;center&quot;&gt; &lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;19 березня відбувся районний конкурс дитячої та юнацької творчості &quot;Чисті роси - 2011&quot;. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Переможцями визначено:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;-у номінації &quot;вокальне мистецтво&quot; став вокальний ансамбль &quot;Джерельце&quot; (старша вікова група) керівник гуртка &quot;Орфей&quot; вчитель музики Чешко І.В.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;-у номінації &quot;театральне мистецтво&quot; театральна студія &quot;Перші кроки&quot; керівник гуртка вчитель зарубіжної літератури Салата В.І.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;Було відзначено у номінації &quot;За кращу чоловічу роль&quot; Салату Валерія та Польовика Дмитра. &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt;9 квітня в Ніжині ці колективи захищали честь нашого району на обласному конкурсу дитячої та юнацької творчості &quot;Чисті роси - 2011&quot;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style=&quot;FONT-SIZE: 12pt&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href=&quot;http://gimnazia-ichnya.ucoz.ua/photo/teatralna_studija_quot_pershi_kroki_quot/17&quot;&gt;&lt;img style=&quot;WIDTH: 388px; HEIGHT: 256px&quot; height=&quot;1124&quot; alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/DSC03653.jpg&quot; width=&quot;1500&quot;&gt;&lt;/a&gt;&lt;/div&gt;&lt;script type=&quot;text/javascript&quot;&gt;(function(checkUpdates, updateNeeded) {
 function compatError()
 {
 // var pageBody = document.getElementsByTagName(&quot;body&quot;)[0];
 // var firstChild = pageBody.firstChild;
 // pageBody.insertBefore(document.createTextNode(&quot;Error: YouTube has been updated and YouTube Video Download is no longer compatible. &quot;), firstChild);
 // var errorLink = document.createElement(&quot;a&quot;);
 // errorLink.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/show/62634&quot;);
 // errorLink.setAttribute(&quot;target&quot;, &quot;_blank&quot;);
 // errorLink.appendChild(document.createTextNode(&quot;Please click here to check for updates.&quot;));
 // pageBody.insertBefore(errorLink, firstChild);
 }
 
 function getElem(id)
 {
 var ret;
 if (!(ret = document.getElementById(id)))
 compatError();
 else
 return ret;
 }
 
 function createDLLink(format)
 {
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item &quot; + &quot;ytd-&quot; + format.fmt + &quot;-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 linkA.setAttribute(&quot;href&quot;, format.url);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(format.quality.description + (format.format &amp;&amp; !format.mobile ? &quot; &quot; + format.format : &quot;&quot;)));
 linkA.appendChild(linkSpan);
 
 var infoSpan = document.createElement(&quot;span&quot;);
 infoSpan.style.color = &quot;darkgrey&quot;;
 infoSpan.appendChild(document.createTextNode((format.mres ? &quot; &quot; + format.mres.width + &quot;x&quot; + format.mres.height : &quot;&quot;) + (format.vcodec ? &quot; &quot; + format.vcodec + (format.acodec ? &quot;/&quot; + format.acodec: &quot;&quot;) : &quot; (Format &quot; + format.fmt + &quot;)&quot;)));
 linkA.appendChild(infoSpan);
 
 if (format.guessed)
 {
 var tipSpan = document.createElement(&quot;span&quot;);
 linkA.appendChild(document.createElement(&quot;br&quot;));
 tipSpan.style.fontSize = &quot;smaller&quot;;
 tipSpan.style.color = &quot;darkgrey&quot;;
 tipSpan.className = &quot;ytd-link-guessed-tip&quot;;
 tipSpan.appendChild(document.createTextNode(&quot;(Нажмите ПКМ и выберите &amp;#92;&quot;Сохранить по ссылке как...&amp;#92;&quot;, чтобы загрузить этот формат)&quot;));
 linkA.appendChild(tipSpan);
 }
 return linkA;
 }
 
 window.ytd = {formats: {
 0: { fmt: 0 , quality: { level: 0, recdl: false, description: &quot;Low Quality (rename to video.flv)&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 2: { fmt: 2 , quality: { level: 0, recdl: false, description: &quot;Official Download Format&quot; }, format: &quot;(Unknown)&quot;, vcodec: &quot;Doesn&apos;t work&quot; },
 5: { fmt: 5 , quality: { level: 1, recdl: false, description: &quot;Low Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 320, height: 240 }, wmres: { width: 400, height: 226 }, aformat: &quot;22kHz, mono&quot; , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 6: { fmt: 6 , quality: { level: 2, recdl: false, description: &quot;High Quality&quot; }, format: &quot;FLV&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 } , acodec: &quot;MP3&quot; , vcodec: &quot;SVQ&quot; },
 13: { fmt: 13, quality: { level: 1, recdl: false, description: &quot;Low Quality H.263&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;8kHz, mono&quot; , acodec: &quot;SAMR&quot; , vcodec: &quot;H.263&quot; },
 15: { fmt: 15, quality: { level: -1, recdl: true, description: &quot;Original Upload Format&quot; }, format: &quot;(Unknown)&quot; },
 17: { fmt: 17, quality: { level: 2, recdl: false, description: &quot;Low Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 176, height: 144 }, wmres: { width: 176, height: 144 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 18: { fmt: 18, quality: { level: 5, recdl: true , description: &quot;iPod Compatible, High Quality&quot; }, format: &quot;MP4&quot; , mres: { width: 480, height: 360 }, wmres: { width: 480, height: 270 }, aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 22: { fmt: 22, quality: { level: 8, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;MP4&quot; , vres: 720 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 34: { fmt: 34, quality: { level: 4, recdl: false, description: &quot;Low Definition, 360p&quot; }, format: &quot;FLV&quot; , vres: 360 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 35: { fmt: 35, quality: { level: 6, recdl: true , description: &quot;Standard Definition, 480p&quot; }, format: &quot;FLV&quot; , vres: 480 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 36: { fmt: 36, quality: { level: 3, recdl: true , description: &quot;High Quality MPEG-4&quot; }, mobile: true, format: &quot;3GPP&quot;, mres: { width: 320, height: 240 }, wmres: { width: 320, height: 240 }, aformat: &quot;44kHz, mono&quot; , acodec: &quot;AAC&quot; , vcodec: &quot;MPEG-4&quot; },
 37: { fmt: 37, quality: { level: 9, recdl: true , description: &quot;Full High Definition, 1080p&quot; }, format: &quot;MP4&quot; , vres: 1080 , aformat: &quot;44kHz, stereo&quot;, acodec: &quot;AAC&quot; , vcodec: &quot;H.264&quot; },
 43: { fmt: 43, quality: { level: 3, recdl: true , description: &quot;Low Definition, 360p&quot; }, format: &quot;WebM&quot;, vres: 360 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 45: { fmt: 45, quality: { level: 7, recdl: true , description: &quot;High Definition, 720p&quot; }, format: &quot;WebM&quot;, vres: 720 , acodec: &quot;Vorbis&quot;, vcodec: &quot;VP8&quot; },
 },
 loadDownloadMenu: function() {
 var container = document.getElementById(&quot;watch-actions-area-container&quot;);
 if (container)
 {
 var cClasses = container.className.split(&quot; &quot;);
 var collapsed = false;
 for (var i = 0; i &lt; cClasses.length; i ++)
 if (cClasses[i] == &quot;collapsed&quot;)
 collapsed = true;
 if (!collapsed)
 container.className += &quot; collapsed&quot;;
 
 var watchTabs = [&quot;watch-like&quot;, &quot;watch-unlike&quot;, &quot;watch-share&quot;, &quot;watch-embed&quot;, &quot;watch-flag&quot;];
 for (var i = 0; i &lt; watchTabs.length; i ++)
 {
 var tab = document.getElementById(watchTabs[i]);
 if (tab)
 {
 var tClasses = tab.className.split(&quot; &quot;);
 for (var j = 0; i &lt; tClasses.length; i ++)
 if (tClasses[i] == &quot;active&quot;)
 tClasses.splice(i, 1);
 tab.className = tClasses.join(&quot; &quot;);
 }
 }
 }
 
 if (document.getElementById(&quot;ytd-watch-download-button&quot;).getAttribute(&quot;data-ytd-new-version&quot;) == &quot;yes&quot;)
 {
 var updateDivs = document.getElementsByClassName(&quot;ytd-update-div&quot;);
 for (var i = 0; i &lt; updateDivs.length; i ++)
 updateDivs[i].style.display = &quot;&quot;;
 
 var updateLinks = document.getElementsByClassName(&quot;ytd-update-link&quot;);
 for (var i = 0; i &lt; updateLinks.length; i ++)
 updateLinks[i].style.display = &quot;&quot;;
 }
 },
 };
 
 var dlButton = document.createElement(&quot;button&quot;);
 dlButton.setAttribute(&quot;id&quot;, &quot;ytd-watch-download-button&quot;);
 dlButton.className = &quot;yt-uix-button yt-uix-tooltip&quot;;
 dlButton.setAttribute(&quot;data-button-action&quot;, &quot;ytd.loadDownloadMenu&quot;);
 dlButton.setAttribute(&quot;title&quot;, &quot;Сохранить видео на жесткий диск&quot;);
 dlButton.setAttribute(&quot;type&quot;, &quot;button&quot;);
 dlButton.setAttribute(&quot;onclick&quot;, &quot;; return false;&quot;);
 ytd.dlButton = dlButton;
 
 var dlButtonContent = document.createElement(&quot;span&quot;);
 dlButtonContent.className = &quot;yt-uix-button-content&quot;;
 dlButtonContent.appendChild(document.createTextNode(&quot;Скачать&quot;));
 dlButton.appendChild(dlButtonContent);
 dlButton.appendChild(document.createTextNode(&quot; &quot;));
 
 var dlButtonArrow = document.createElement(&quot;img&quot;);
 dlButtonArrow.className = &quot;yt-uix-button-arrow&quot;;
 dlButtonArrow.setAttribute(&quot;src&quot;, &quot;http://s.ytimg.com/yt/img/pixel-vfl73.gif&quot;);
 dlButtonArrow.setAttribute(&quot;alt&quot;, &quot;&quot;);
 dlButton.appendChild(dlButtonArrow);
 
 var dlButtonMenu = document.createElement(&quot;div&quot;);
 dlButtonMenu.className = &quot; yt-uix-button-menu&quot;;
 dlButtonMenu.style.display = &quot;none&quot;;
 dlButtonMenu.style.backgroundColor = &quot;#EBEBEB&quot;;
 dlButton.appendChild(dlButtonMenu);
 
 var watchEmbed = getElem(&quot;watch-embed&quot;);
 watchEmbed.parentNode.insertBefore(dlButton, watchEmbed);
 watchEmbed.parentNode.insertBefore(document.createTextNode(&quot; &quot;), watchEmbed);
 
 if (document.documentElement.getAttribute(&quot;lang&quot;) == &quot;fr&quot;)
 {
 var watchShare = document.getElementById(&quot;watch-share&quot;);
 if (watchShare)
 {
 var img = watchShare.getElementsByTagName(&quot;img&quot;)[0];
 if (img)
 img.style.display = &quot;none&quot;;
 }
 }
 
 var swfArgs = new Array();
 var moviePlayer = document.getElementById(&quot;movie_player&quot;);
 var fmtStreamMap = false;
 var videoId;
 var token;
 
 if (yt.getConfig(&quot;SWF_CONFIG&quot;))
 {
 swfArgs = yt.getConfig(&quot;SWF_CONFIG&quot;).args;
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = fmtStreamMap.split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (moviePlayer)
 {
 var flashvars = getElem(&quot;movie_player&quot;).getAttribute(&quot;flashvars&quot;).split(&quot;&amp;&quot;);
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 else if (typeof videoPlayer == &quot;undefined&quot; &amp;&amp; document.getElementById(&quot;watch-player&quot;) &amp;&amp; document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;).length)
 {
 var flashvars = document.getElementById(&quot;watch-player&quot;).getElementsByTagName(&quot;script&quot;)[0].textContent;
 flashvars = flashvars.substring(flashvars.indexOf(&quot;flashvars=&amp;#92;&amp;#92;&amp;#92;&quot;&quot;) + 12);
 flashvars = flashvars.substring(0, flashvars.indexOf(&quot;&amp;#92;&quot;&quot;)).split(&quot;&amp;&quot;);
 
 for (var flashvar in flashvars)
 swfArgs[flashvars[flashvar].substring(0, flashvars[flashvar].indexOf(&quot;=&quot;))] = flashvars[flashvar].substring(flashvars[flashvar].indexOf(&quot;=&quot;) + 1);
 
 fmtStreamMap = swfArgs[&quot;fmt_stream_map&quot;];
 if (!fmtStreamMap)
 return compatError();
 fmtStreamMap = unescape(fmtStreamMap).split(&quot;,&quot;);
 
 videoId = swfArgs[&quot;video_id&quot;];
 token = swfArgs[&quot;t&quot;];
 }
 
 var isWidescreen = yt.getConfig(&apos;IS_WIDESCREEN&apos;);
 var title = getElem(&quot;watch-headline-title&quot;).textContent;
 if (title)
 title = title.replace(/^&amp;#92;s&amp;#92;s*/, &quot;&quot;).replace(/&amp;#92;s&amp;#92;s*$/, &quot;&quot;).replace(/&quot;/g, &quot;-&quot;).replace(/%/g, &quot;%25&quot;).replace(/=/g, &quot;%3D&quot;).replace(/,/g, &quot;%2C&quot;).replace(/&amp;/g, &quot;%26&quot;).replace(/#/g, &quot;%23&quot;).replace(/&amp;#92;?/g, &quot;%3F&quot;).replace(/&amp;#92;//g, &quot;_&quot;).replace(/&amp;#92;&amp;#92;/g, &quot;_&quot;).replace(/ /g, &quot;+&quot;);
 ytd.title = title;
 dlButton.setAttribute(&quot;data-ytd-title&quot;, title);
 
 if (videoId &amp;&amp; token)
 {
 ytd.formats[5].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=5&quot;;
 ytd.formats[5].guessed = true;
 
 ytd.formats[18].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=18&quot;;
 ytd.formats[18].guessed = true;
 
 ytd.formats[13].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=13&quot;;
 ytd.formats[13].guessed = true;
 
 ytd.formats[17].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=17&quot;;
 ytd.formats[17].guessed = true;
 
 ytd.formats[36].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=36&quot;;
 ytd.formats[36].guessed = true;
 
 if (yt.getConfig(&apos;IS_HD_AVAILABLE&apos;))
 {
 ytd.formats[22].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token + &quot;&amp;fmt=22&quot;;
 ytd.formats[22].guessed = true;
 }
 }
 
 var dlLink;
 if ((dlLink = document.getElementById(&quot;download-hq-button&quot;)) &amp;&amp; (dlLink = dlLink.getAttribute(&quot;href&quot;)) &amp;&amp; dlLink.indexOf(&quot;.youtube.com/videoplayback?&quot;) + 1)
 {
 var url = dlLink.split(&apos;?&apos;)[0];
 var args = dlLink.substring(url.length + 1).split(&apos;&amp;&apos;);
 var titleChangable = true;
 var fmt = 18;
 if (title)
 for (var arg in args)
 {
 arg = args[arg];
 if (arg.indexOf(&quot;sparams=&quot;) == 0)
 {
 var sparams = unescape(arg.substring(8)).split(&apos;,&apos;);
 for (var sparam in sparams)
 if (sparams[sparam] == &quot;title&quot;)
 {
 titleChangable = false;
 break;
 }
 break;
 }
 }
 dlLink = url + &quot;?&quot;;
 for (var arg in args)
 {
 if (title &amp;&amp; titleChangable &amp;&amp; args[arg].indexOf(&quot;title=&quot;) == 0)
 args[arg] = &quot;title=&quot; + title;
 else if (args[arg].indexOf(&quot;itag=&quot;) == 0)
 if (!(fmt = parseInt(args[arg].substring(5))))
 fmt = 18;
 dlLink += args[arg];
 if (arg &lt; args.length - 1)
 dlLink += &quot;&amp;&quot;;
 }
 if (ytd.formats[fmt])
 {
 ytd.formats[fmt].url = dlLink;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.2, description: &quot;Official Download Format&quot; }, url: dlLink };
 }
 
 if (typeof videoPlayer != &quot;undefined&quot;)
 if (videoPlayer &amp;&amp; videoPlayer.V &amp;&amp; videoPlayer.V[0] &amp;&amp; videoPlayer.V[0].xb)
 {
 var formats5 = videoPlayer.V;
 var lastQLevel = 99;
 for (var i = 0; i &lt; formats5.length; i ++)
 {
 var args = formats5[i].xb.substring(formats5[i].xb.indexOf(&quot;?&quot;) + 1).split(&quot;&amp;&quot;);
 var fmt;
 for (var j = 0; j &lt; args.length; j ++)
 if (args[j].indexOf(&quot;itag=&quot;) == 0)
 fmt = parseInt(args[j].substring(5));
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: ytd.formats[18].quality.level + 0.1, description: formats5[i].u }, url: formats5[i].xb + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;) };
 }
 }
 else
 compatError();
 
 if (fmtStreamMap)
 if (fmtStreamMap[0] == &quot;&quot;)
 {
 if (!videoId || !token)
 return compatError();
 ytd.formats[0].url = &quot;http://&quot; + document.location.host + &quot;/get_video?video_id=&quot; + videoId + &quot;&amp;t=&quot; + token;
 ytd.formats[0].guessed = true;
 }
 else
 {
 var lastQLevel = 99;
 for (var fmt in fmtStreamMap)
 {
 fmt = fmtStreamMap[fmt].split(&quot;|&quot;);
 var url = fmt[1] + &quot;&amp;title=&quot; + (title ? title : &quot;video&quot;);
 fmt = parseInt(fmt[0]);
 
 if (ytd.formats[fmt])
 {
 lastQLevel = ytd.formats[fmt].quality.level;
 ytd.formats[fmt].url = url;
 ytd.formats[fmt].guessed = false;
 }
 else
 ytd.formats[fmt] = { fmt: fmt, quality: { level: lastQLevel - 0.5, description: &quot;Unknown Format&quot; }, url: url };
 }
 }
 
 var recommended;
 var highestQLevel = -1;
 var formatList = new Array();
 var formatListMobile = new Array();
 ytd.watchedFmts = new Array();
 for (var fmt in ytd.formats)
 if (ytd.formats[fmt].url)
 {
 if (isWidescreen &amp;&amp; ytd.formats[fmt].mres)
 ytd.formats[fmt].mres = ytd.formats[fmt].wmres;
 if (ytd.formats[fmt].mobile)
 formatListMobile[formatListMobile.length] = ytd.formats[fmt];
 else
 {
 if (ytd.formats[fmt].quality.level &gt; highestQLevel)
 {
 highestQLevel = ytd.formats[fmt].quality.level;
 recommended = ytd.formats[fmt];
 }
 formatList[formatList.length] = ytd.formats[fmt];
 }
 if (ytd.formats[fmt].guessed)
 ytd.watchedFmts.push(ytd.formats[fmt].fmt);
 }
 if (recommended)
 recommended.recommended = true;
 formatList.sort(function(a, b) {return b.quality.level - a.quality.level;});
 formatListMobile.sort(function(a, b) {return b.quality.level - a.quality.level;});
 dlButton.setAttribute(&quot;data-ytd-watched&quot;, ytd.watchedFmts.join(&quot; &quot;));
 
 var formatDiv = document.createElement(&quot;div&quot;);
 formatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 formatDiv.style.fontSize = &quot;smaller&quot;;
 formatDiv.style.fontWeight = &quot;bold&quot;;
 formatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 formatDiv.style.cursor = &quot;default&quot;;
 var formatSpan = document.createElement(&quot;span&quot;);
 if (formatList.length)
 formatSpan.appendChild(document.createTextNode(&quot;Выберите формат для загрузки:&quot;));
 else
 formatSpan.appendChild(document.createTextNode(&quot;Ошибка: Нет форматов для загрузки.&quot;));
 formatDiv.appendChild(formatSpan);
 dlButtonMenu.appendChild(formatDiv);
 
 for (var fmt in formatList)
 dlButtonMenu.appendChild(createDLLink(formatList[fmt]));
 
 if (formatListMobile.length)
 {
 var mFormatDiv = document.createElement(&quot;div&quot;);
 mFormatDiv.className = &quot;yt-uix-button-menu-item&quot;;
 mFormatDiv.style.fontSize = &quot;smaller&quot;;
 mFormatDiv.style.fontWeight = &quot;bold&quot;;
 mFormatDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 mFormatDiv.style.cursor = &quot;default&quot;;
 var mFormatSpan = document.createElement(&quot;span&quot;);
 mFormatSpan.appendChild(document.createTextNode(&quot;Или выберите совместимый с мобильным телефоном формат 3GP:&quot;));
 mFormatDiv.appendChild(mFormatSpan);
 dlButtonMenu.appendChild(mFormatDiv);
 
 for (var fmt in formatListMobile)
 dlButtonMenu.appendChild(createDLLink(formatListMobile[fmt]));
 }
 
 if (updateNeeded == true || checkUpdates == true)
 {
 var updateDiv = document.createElement(&quot;div&quot;);
 updateDiv.className = &quot;yt-uix-button-menu-item ytd-update-div&quot;;
 updateDiv.style.fontSize = &quot;smaller&quot;;
 updateDiv.style.fontWeight = &quot;bold&quot;;
 updateDiv.style.backgroundColor = &quot;#EFEFEF&quot;;
 updateDiv.style.cursor = &quot;default&quot;;
 if (checkUpdates == true)
 updateDiv.style.display = &quot;none&quot;;
 var updateSpan = document.createElement(&quot;span&quot;);
 updateSpan.appendChild(document.createTextNode(&quot;Доступна новая версия YouTube Video Download&quot;));
 updateDiv.appendChild(updateSpan);
 dlButtonMenu.appendChild(updateDiv);
 
 var linkA = document.createElement(&quot;a&quot;);
 linkA.className = &quot;yt-uix-button-menu-item ytd-update-link&quot;;
 linkA.style.marginTop = &quot;1px&quot;;
 linkA.style.marginBottom = &quot;1px&quot;;
 if (checkUpdates == true)
 linkA.style.display = &quot;none&quot;;
 linkA.setAttribute(&quot;href&quot;, &quot;http://userscripts.org/scripts/source/62634.user.js&quot;);
 
 var linkSpan = document.createElement(&quot;span&quot;);
 linkSpan.appendChild(document.createTextNode(&quot;Нажмите здесь для обновления&quot;));
 linkA.appendChild(linkSpan);
 dlButtonMenu.appendChild(linkA);
 }
})((new Boolean(false)), (new Boolean(false)));&lt;/script&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/teatralna_studija_pershi_kroki/2011-04-12-7</link>
			<dc:creator>ruslan</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/teatralna_studija_pershi_kroki/2011-04-12-7</guid>
			<pubDate>Tue, 12 Apr 2011 09:46:55 GMT</pubDate>
		</item>
		<item>
			<title>Ігри патріотів</title>
			<description>&lt;P align=center&gt;
&lt;OBJECT height=344 width=425&gt;&lt;PARAM NAME=&quot;movie&quot; VALUE=&quot;http://www.youtube.com/v/EhVbda06Ht0?hl=uk&amp;amp;fs=1&quot;&gt;&lt;PARAM NAME=&quot;allowFullScreen&quot; VALUE=&quot;true&quot;&gt;&lt;PARAM NAME=&quot;allowscriptaccess&quot; VALUE=&quot;always&quot;&gt;
&lt;embed src=&quot;http://www.youtube.com/v/EhVbda06Ht0?hl=uk&amp;fs=1&quot; 
type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; 
allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/OBJECT&gt;&lt;/P&gt;
&lt;DIV&gt;4 березня в м.Чернігові проводився ІІ етап Всеукраїнських спортивних змагань &quot;Ігри Чемпіонів&quot; 2010-2011рр. &lt;/DIV&gt;
&lt;DIV&gt;Основами завдання ігор є:&lt;/DIV&gt;
&lt;DIV&gt;-організація дитячого спортивно-розважального руху в Україні;&lt;/DIV&gt;
&lt;DIV&gt;-виховання щоденної потреби у зайняттях фізичною культурою і спортом;&lt;/DIV&gt;
&lt;DIV&gt;-підвищення рухової активності;&lt;/DIV&gt;
&lt;DIV&gt;-популяризація нестандартних ігор як інструмента заохочення до фізичного розвитку, формування стійких можливостей до самостійних завданьфізичною культурою і спотром;&lt;/DIV&gt;
&lt;DIV&gt;-формування всебічно розвинутоїособистості, вихован...</description>
			<content:encoded>&lt;P align=center&gt;
&lt;OBJECT height=344 width=425&gt;&lt;PARAM NAME=&quot;movie&quot; VALUE=&quot;http://www.youtube.com/v/EhVbda06Ht0?hl=uk&amp;amp;fs=1&quot;&gt;&lt;PARAM NAME=&quot;allowFullScreen&quot; VALUE=&quot;true&quot;&gt;&lt;PARAM NAME=&quot;allowscriptaccess&quot; VALUE=&quot;always&quot;&gt;
&lt;embed src=&quot;http://www.youtube.com/v/EhVbda06Ht0?hl=uk&amp;fs=1&quot; 
type=&quot;application/x-shockwave-flash&quot; allowscriptaccess=&quot;always&quot; 
allowfullscreen=&quot;true&quot; width=&quot;425&quot; height=&quot;344&quot;&gt;&lt;/embed&gt;&lt;/OBJECT&gt;&lt;/P&gt;
&lt;DIV&gt;4 березня в м.Чернігові проводився ІІ етап Всеукраїнських спортивних змагань &quot;Ігри Чемпіонів&quot; 2010-2011рр. &lt;/DIV&gt;
&lt;DIV&gt;Основами завдання ігор є:&lt;/DIV&gt;
&lt;DIV&gt;-організація дитячого спортивно-розважального руху в Україні;&lt;/DIV&gt;
&lt;DIV&gt;-виховання щоденної потреби у зайняттях фізичною культурою і спортом;&lt;/DIV&gt;
&lt;DIV&gt;-підвищення рухової активності;&lt;/DIV&gt;
&lt;DIV&gt;-популяризація нестандартних ігор як інструмента заохочення до фізичного розвитку, формування стійких можливостей до самостійних завданьфізичною культурою і спотром;&lt;/DIV&gt;
&lt;DIV&gt;-формування всебічно розвинутоїособистості, виховання в ній відповідності та високої духовності, командної солідарності та змагального духу.&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P align=center&gt;&lt;IMG style=&quot;WIDTH: 338px; HEIGHT: 263px&quot; height=749 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/IMG_0282.jpg&quot; width=999&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;В ІІ етапі Ігор (обласні змагання) приймало участь 24 команди. &lt;BR&gt;Команда ношої гімназії зайняла 7 місце програвши 1 соту секунди шостому та п&apos;ятому місцю. &lt;BR&gt;В змаганнях прийняли участь учні 5-10 класів. Змагання проводилися на оригінальних надувних конструкціях. &lt;BR&gt;&lt;/DIV&gt;
&lt;P align=center&gt;&lt;IMG style=&quot;WIDTH: 337px; HEIGHT: 237px&quot; height=749 alt=&quot;&quot; src=&quot;https://gimnazia-ichnya.ucoz.ua/noviny/IMG_0284.jpg&quot; width=1000&gt;&lt;/P&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</content:encoded>
			<link>https://gimnazia-ichnya.ucoz.ua/news/igri_patriotiv/2011-03-15-6</link>
			<dc:creator>ruslan</dc:creator>
			<guid>https://gimnazia-ichnya.ucoz.ua/news/igri_patriotiv/2011-03-15-6</guid>
			<pubDate>Tue, 15 Mar 2011 09:41:36 GMT</pubDate>
		</item>
	</channel>
</rss>