var u_data="RU|aj61266||s62|ucoz|0|0|0|0|0|0|1|0|7|0|0|0".split('|');
document.write('<scr'+'ipt type="text/javascript" src="http://s62.ucoz.net/bnr/wrappers/w1h.js"></scr'+'ipt>');
document.write('<input type="hidden" id="bannerXaj61266" value="0"><input type="hidden" id="bannerYaj61266" value="0">');
var ucoz_rndid = 'aj61266';
var user_country = "kz";
var ucoz_server="s62";
var ucoz_site_type="ucoz";
var ucoz_cur_time = 1496930078 ;


var criteo_params = {
	crtg_nid: '4639', zoneid:'273017', rta: 'cruczkz240=1'
}
var crtg_nid = criteo_params.crtg_nid;
var crtg_cookiename = 'crtg_rta';
var crtg_varname = 'crtg_content';
function crtg_getCookie(c_name){ var i,x,y,ARRCookies=document.cookie.split(";");for(i=0;i<ARRCookies.length;i++){x=ARRCookies[i].substr(0,ARRCookies[i].indexOf("="));y=ARRCookies[i].substr(ARRCookies[i].indexOf("=")+1);x=x.replace(/^\s+|\s+$/g,"");if(x==c_name){return unescape(y);} }return'';}
var crtg_content = crtg_getCookie(crtg_cookiename);
var crtg_rnd=Math.floor(Math.random()*99999999999);

var ucoz_prerollenable=1;
if(window.uPreroll_showed !== undefined && parseInt(uPreroll_showed)>=2) {
	ucoz_prerollenable=0;
}

if(ucoz_prerollenable){
	if (typeof jQuery == 'undefined') {
		document.write('<scr' + 'ipt type="text/javascript" src="/.s/src/jquery-1.7.2.js"></scr' + 'ipt>');
	}
	if (typeof _uWnd == 'undefined') {
		document.write('<scr' + 'ipt type="text/javascript" src="/.s/src/uwnd.js"></scr' + 'ipt>');
	}
	function UranCooks1() {
		var urantimest = Date.now() / 1000 | 0;
		document.cookie = 'uaoffc1=' + urantimest + ';domain=.' + window.location.host + ';path=/';
	}
	var uPreroll = {
		ad_duration: 30,
		top_label: 'реклама',
		country : 'kz',
		isEnglish: function(){
			return (['hu','ro','au','gb','hk','in','ie','ca','lv','lt','nz','pk','sg','us','ph','za','jm','ee','br','gr','de','rs','fr','bg','it','pl','es','tr','il','cz'].indexOf(uPreroll.country)>=0);
		},
		geo: {
			city: "Almaty",
			region: "Almaty"
		},
		themes: [
			{header:'',footer: ''},
			{
				header:'<div class="modal"><div class="toppanel"><div id="popup4"><div class="close_popup"><div class="rotate_left"><span></span></div><div class="rotate_right"><span></span></div></div><div class="title_popup"><span class="r_label_top">%s</span><span class="counter"></span></div></div></div>',
				footer: '<div class="modal_text" id="wrapper_uran_footer"><div><span class="modal_head">Не хотите видеть рекламы вообще?</span><span>Скачайте браузер без рекламы</span></div><div class="modal_text_right"><a href="" target="_blank" class="modal_button">Cкачать URAN</a><a href="" target="_blank" class="modal_icon"><img src="/.s/img/bnr/uran_logo.png"></a></div></div></div>'
			},
			{header:'',footer: ''},
			{
				header:'<div class="modal modal_4"><div class="toppanel"><div id="popup4"><div class="close_popup"><div class="rotate_left"><span></span></div><div class="rotate_right"><span></span></div></div><div class="title_popup"><span class="r_label_top">%s</span><span class="counter"></span></div></div></div>',
				footer: '<div class="modal_text"><div><span class="modal_head">Нужен бизнес-сайт?</span><span>Решения для бизнеса на любой вкус и кошелек</span></div><div class="modal_buttons"><a href="" target="_blank" class="modal_button">Создать сайт</a><a href="" target="_blank" class="modal_logo"><img src="/.s/img/bnr/ukit_logo.png"></a></div>'
			},
			{header:'',footer: ''}
		],
		ga_var_landing: [
			{theme: 1,url:false,track: 'lpnone'},
			{theme: 1,url: 'http://uran-browser.ucoz.com/',track: 'lp1'},
			{theme: 1,url:'http://uran-browser.ucoz.com/index/0-2',track: 'lp2'},
			{theme: 1,url:'http://uran-browser.ucoz.com/index/0-3',track: 'lp3'},
			{theme: 1,url:'http://uran-browser.ucoz.com/index/0-4',track: 'lp4'}
		],
		user_agent: 'chrome',
		ukit_data : {
			getLink: function(lang, server){
				var idx = Math.floor(Math.random()*this[server][lang].length);
				return this[server][lang][idx];
			},
			getUkitWrapperLink: function(){
				return 'http://lp.ukit.com/ru/self/?utm_source=ucoz-advnet&utm_medium=video-bottom-wrap&utm_campaign=create-your-own-website-ru' ;
			},
			ru:{
				text: 'Попробовать на www.ukit.com',
				vlink: '/.s/flash/bnr/TRY4-HD.mp4'
			},
			en: {
				text: 'Try it on www.ukit.com',
				vlink: '/.s/flash/bnr/ukit-eng-popup-HD.mp4'
			},
			ucoz:{
				ru: [[
					'https://ukit.com/ru/lp/adaptive/?utm_source=ucoz-advnet&utm_medium=video-ukit&utm_campaign=video-ru',
					'https://ukit.com/ru/lp/adaptive/?utm_source=ucoz-advnet&utm_medium=video-ukit-button&utm_campaign=video-ru'
				]],
				en: [[
					'https://ukit.com/en/lp/adaptive/?utm_source=ucoz-advnet&utm_medium=video-ukit&utm_campaign=video-en',
					'https://ukit.com/en/lp/adaptive/?utm_source=ucoz-advnet&utm_medium=video-ukit&utm_campaign=video-en'
				]]
			},
			narod:{
				ru: [[
					'https://ukit.com/ru/lp/adaptive/?utm_source=narod-advnet&utm_medium=video-ukit&utm_campaign=video-ru',
					'https://ukit.com/ru/lp/adaptive/?utm_source=narod-advnet&utm_medium=video-ukit-button&utm_campaign=video-ru'
				]],
				en: [[
					'https://ukit.com/en/lp/adaptive/?utm_source=ucoz-advnet&utm_medium=video-ukit&utm_campaign=video-en',
					'https://ukit.com/en/lp/adaptive/?utm_source=ucoz-advnet&utm_medium=video-ukit&utm_campaign=video-en'
				]]
			},
			duration:20
		},
		counters: {
			advmaker_ucoz_ru: 'preroll_advmaker',
			advmaker_narod_ru: 'preroll_advmaker_narod',
			advmaker_ucoz_ua: 'preroll_advmaker_sng_ucoz',
			advmaker_narod_ua: 'preroll_advmaker_sng_narod',
			advmaker_ucoz_sng: 'preroll_advmaker_sng_ucoz',
			advmaker_narod_sng: 'preroll_advmaker_sng_narod',

			winwideo_ucoz_ru: 'preroll_winwideo_sts_ucoz',
			winwideo_narod_ru:'preroll_winwideo_sts_narod',
			winwideo_ucoz_ua: 'preroll_winwideo_sts_ucoz',
			winwideo_narod_ua: 'preroll_winwideo_sts_narod',
			winwideo_ucoz_sng: 'preroll_winwideo_sts_ucoz',
			winwideo_narod_sng: 'preroll_winwideo_sts_narod',

			adwideo_ucoz_ru: 'preroll_adwideo_sts_ucoz',
			adwideo_narod_ru:'preroll_adwideo_sts_narod',

			ukit_ucoz_ru: 'preroll_ukit1',
			ukit_ucoz_ua: 'preroll_ukit1',
			ukit_ucoz_sng: 'preroll_ukit1',

			ukit_narod_ru: 'preroll_narod_ukit1',
			ukit_narod_ua: 'preroll_narod_ukit1',
			ukit_narod_sng: 'preroll_narod_ukit1',
			ukit_narod_en: 'preroll_narod_ukiten1',
			ukit_ucoz_en: 'preroll_ukiten1',

			pladform_ucoz_ru: 'preroll_pladform_ucoz',
			pladform_narod_ru: 'preroll_pladform_narod',
			pladform_ucoz_ua: 'preroll_pladform_ucoz_sng',
			pladform_narod_ua: 'preroll_pladform_narod_sng',
			pladform_ucoz_sng: 'preroll_pladform_ucoz_sng',
			pladform_narod_sng: 'preroll_pladform_narod_sng'
		},
		site_type: 'ucoz',
		uran_wrap_rate: 0,
		isUcoz: function(){
			return (uPreroll.site_type=='ucoz');
		},
		getRegion: function(){
			switch (uPreroll.country){
				case 'ru':
				case 'md':
				case 'am':
				case 'ge':
				return 'ru';
				case 'ua': return 'ua';
				case 'az':
				case 'by':
				case 'kz':
				case 'kg':
				case 'tj':
				case 'uz':
				case 'tm': return 'sng';
				default: return 'en'
			};
		},

		setCounter: function(name, finalName){
			if(!finalName){
				name = uPreroll.counters[name+'_'+uPreroll.site_type+'_'+uPreroll.getRegion()];
			}
			new Image().src = "//counter.yadro.ru/hit;"+name+"?r"+
				escape(document.referrer)+((typeof(screen)=="undefined")?"":
				";s"+screen.width+"*"+screen.height+"*"+(screen.colorDepth?
				screen.colorDepth:screen.pixelDepth))+";u"+escape(document.URL)+
				";"+Math.random();
		},
		setUranLink: function(){
        (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
          (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
          m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
      })(window,document,'script','//www.google-analytics.com/analytics.js','uranga');
        uranga('create', 'UA-45896238-1', 'auto', {'name': 'uranTracker','cookieName': '_uranga'});
        uranga('uranTracker.set', 'referrer', 'http://'+document.location.hostname);
        uranga('uranTracker.send', 'pageview', '/uran_install_show_'+uPreroll.type);
        $('.bottom_popup:not(a), #uran_download_link_1, #uran_download_link_2').on('click', function() {
           var clientId;
           uranga('uranTracker.send', 'pageview', {'page':'/uran_install_type_'+uPreroll.type,
          'hitCallback': function(){
            uranga(function() {
                clientId =  uranga.getByName('uranTracker').get('clientId');
              });
              $('#urangacid').attr('value', clientId);
              $("#geturaninstaller").submit();
          }
        });
    });
		},
		close_preroll_banners: function(){
			$('#uPreroll-holder, #uPreroll-wrapper, #preroll_close_btn, .myWinGrid, #preroll_counter').remove();
			if(this.isEnglish()){
				UranCooks1();
			}
		},

		dummy : {
			ukit: {
				rate: 1 ,
				show : function(containerid) {
					$('.myWinGrid , #uPreroll-holder').remove();
					$('#uPreroll-wrapper').html('');
					uPreroll.ukit_data.duration = 0 ;
					uPreroll.ads.ukit();
				}
			} ,
			banner : {
				rate: 0 ,
				show : function(containerid) {
					uPreroll.close_preroll_banners();
					document.getElementById('bannerY'+ucoz_rndid).value=400;
					document.getElementById('bannerX'+ucoz_rndid).value=240;
					$('#hideAdBlock240x400').detach();
					addUcozWrappers();
					resizeDiv();
					uShowRuAdBanner() ;
				}
			}
		},
		dummy_video : function(containerid){
			var rnd = Math.random() ;
			for(key in uPreroll.dummy) {
				if(rnd < uPreroll.dummy[key].rate) {
					uPreroll.dummy[key].show(containerid);
					break ;
				} else {
					rnd -= uPreroll.dummy[key].rate ;
				}
			}
		} ,
		closeTimerExpired : false ,
		closeCounter: false,
		setCloseCounter: function(){
			if(uPreroll.closeCounter) return ;
			var cid = '.counter';
			var wid = '#uPreroll-wrapper';
			var tmr = uPreroll.ad_duration;
			$(cid).html(tmr);
			uPreroll.closeCounter = setInterval(function() {
				$(cid).html(tmr--);
				if (tmr==-1){
					$(wid + ' .close_popup').addClass('appeared');
					$(cid).css('display','none');
					clearInterval(uPreroll.closeCounter);
					uPreroll.closeTimerExpired = true ;
				}
			}, 1000);

			$(wid + ' .close_popup').click(function(){
				uPreroll.close_preroll_banners();
			});

		},
		add_close_events: function(tmr){
			var uPreroll_count = setInterval(function () {
					$("#preroll_counter").html(tmr--);
					if (tmr==-1){
						$("#preroll_close_btn").show();
						$("#preroll_counter").hide();
						clearInterval(uPreroll_count);
					}
				}, 1000);

				$("#preroll_close_btn").click(function(){
					uPreroll.close_preroll_banners();
				});

		},
		init_gae_done : false ,
		init_gae: function(){
			//верхняя обертка, обратный отсчет и прочее
			$("#uPreroll-wrapper").html(uPreroll.themes[1].header.replace("%s", uPreroll.top_label) + '<div class="uPreroll-dummy" ></div>');
			$("#uPreroll-holder").show();
			uPreroll.setCloseCounter();
			$('.close_popup').click(function(){
				uPreroll.close_preroll_banners();
			});

			if(uPreroll.isEnglish()){
				//setTimeout(function(){UranCooks1();}, 7000);
				UranCooks1();
			}

			uPreroll.init_gae_done = true ;
			if(uPreroll.init_btm_wrapper_ready) {
				uPreroll.init_btm_wrapper();
			}
		},
		init_btm_wrapper_ready : false ,
		init_btm_wrapper: function() {
			if(uPreroll.custom_wrapper) {
				$("#uPreroll-wrapper .modal").append('<div class="uPreroll_btmWrapper"></div>');
				if(typeof uPreroll.uPreroll_btmWrapper == 'function') {
					uPreroll.uPreroll_btmWrapper();
				}
			} else if(uPreroll.random_num < uPreroll.uran_wrap_rate){
				//var experimentid = "HFjPvEF9QYyr6nZ-lFqjMA"; //all
				//var experimentid = "2rq77eKqQLWF6aidxQW50w"; //design
				var experimentid = "o4sJN8YWTbaosZzwch_3mQ";  //landing
				$.getScript("//www.google-analytics.com/cx/api.js?experiment="+experimentid, function(){
					var gavariation = cxApi.chooseVariation();
					var ga_idx = uPreroll.ga_var_landing[gavariation];
					$("#uPreroll-wrapper .modal").append(uPreroll.themes[ga_idx.theme].footer);

					if(ga_idx.url){
						$('#uPreroll-wrapper .modal_button, #uPreroll-wrapper .modal_icon, #uPreroll-wrapper .download_link, #uPreroll-wrapper .download_img').attr('href', ga_idx.url);
					} else {
						$('#uPreroll-wrapper .modal_button, #uPreroll-wrapper .modal_icon').removeAttr('target').removeAttr('href');
					}

					(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
						(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
						m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
					})(window,document,'script','//www.google-analytics.com/analytics.js','uranga');
					uranga('create', 'UA-45896238-1', 'auto', {'name': 'uranTracker','cookieName': '_uranga'});
					uranga('uranTracker.set', 'referrer', 'http://'+document.location.hostname);
					uranga('uranTracker.send', 'pageview', '/uran_show_wrap_' + ga_idx.track);
					$('#wrapper_uran_footer a').click(function(e){
						e.stopPropagation();
					}) ;
					var clickfunction = function(e) {
						var clientId;
						if(ga_idx.url && this.id == 'wrapper_uran_footer'){
							window.open(ga_idx.url,'_blank');
						}
						uranga('uranTracker.send', 'pageview', {
							'page':'/uran_click_wrap_' + ga_idx.track,
							'hitCallback': function() {
								if(!ga_idx.url){
									uranga(function() {
										clientId =  uranga.getByName('uranTracker').get('clientId');
									});
									$('#urangacid').attr('value', clientId);
									$("#geturaninstaller").submit();
								}
							}
						});
						uPreroll.setCounter('wrpvid_uran_click' , true);
						//return false;
					} ;
					$('#wrapper_uran_footer:not(a), .modal_button, .modal_icon, .download_link, .download_img').each(function(index , elem){
						elem.addEventListener('click' , clickfunction);
					})
					//experiment end
					uPreroll.setCounter('wrpvid_uran_show' , true);
				});
			} else { //ukit theme
				$("#uPreroll-wrapper .modal").addClass('modal_4') ;
				$("#uPreroll-wrapper .modal").append(uPreroll.themes[3].footer);
				var lndg_link = uPreroll.ukit_data.getUkitWrapperLink();
				uPreroll.setCounter('ukit_video_wrap',true);

				$('.modal_text a').click(function(e){
					e.stopPropagation();
				});

				$('.modal_text').click(function(e) {
					if($(this).hasClass('modal_text')){
						window.open(lndg_link,'_blank');
						uPreroll.setCounter('wrpvid_ukit_click' , true);
					}
				});
				$('#uPreroll-wrapper .modal_button, #uPreroll-wrapper .modal_logo, #uPreroll-wrapper .download_link, #uPreroll-wrapper .download_img').attr('href', lndg_link);

				if(typeof uPreroll.ukt_wrap_text1 == 'string') $('#dV'+ucoz_rndid+' .modal_head').text(uPreroll.ukt_wrap_text1);
				if(typeof uPreroll.ukt_wrap_text2 == 'string') $('#dV'+ucoz_rndid+' .modal_head').parent().children('span:not(.modal_head)').text(uPreroll.ukt_wrap_text2);
				if(typeof uPreroll.ukt_wrap_text3 == 'string') $('#dV'+ucoz_rndid+' .modal_button').text(uPreroll.ukt_wrap_text3);
				if(typeof uPreroll.ukt_wrap_removelogo != "undefined" && uPreroll.ukt_wrap_removelogo) {
					$('#dV'+ucoz_rndid+' .modal_logo').remove();
					$('#dV'+ucoz_rndid+' .modal_buttons').css('text-align','right');
				}
				if(typeof uPreroll.ukt_wrap_onclick == 'function') $('#dV'+ucoz_rndid+' .modal_text , #dV'+ucoz_rndid+' .modal_text a').click(uPreroll.ukt_wrap_onclick);
				uPreroll.setCounter('wrpvid_ukit_show' , true);
			}
		} ,
		gads: {},
		ads:{
			ukit: function(){
				var printdiv ;
				if(typeof(ucoz_rndid) != 'undefined') printdiv = document.getElementById('mainadsdv' + ucoz_rndid) ;
				else printdiv = document.body ;
				printdiv.innerHTML += ('<div class="myWinGrid" style="width: 100%; height: 100%; z-index: 21003; position: fixed; left: 0px; top: 0px; opacity: 1; background: rgba(0, 0, 0, 0.6);"></div>');
				printdiv.innerHTML += ("<style>#preroll_counter{width: 40px; height: 40px; position: fixed; left: 50%; top: 50%; text-align: center; margin: -300px 0 0 360px; z-index: 99999999999; color: #000;} #preroll_close_btn {display: none; width: 40px; height: 40px; position: fixed; left: 50%; top: 50%; margin: -300px 0 0 360px; z-index: 99999999999; background-color:transparent;background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADkAAAA8CAYAAADc1RI2AAAAAXNSR0IArs4c6QAACRJJREFUaAXdmw1wVNUVx/e93XzABsOHiBq0ZGyhSmesTjEzFaZFdheGoUUrGbS2HT/aTDuUgXzsbjaJNtpAwiYxTmm1RlpaO0zrBJVh0MImkIyhDsSidjqTMlIbiZXBOmNHTFZCsu/5O8GXCetu9uu9kPhmNve9e+879/zf/95zz7n3RmlsbCzUdV0Nh8Ona2trR2xfkKuhoSFfVdUrI5HIhyqYPHZV/XdeXt4fuFe+CBjr6uoKshyON8EV0jQt197e3n7C7XafVxWlzON2zw+1t788nYE21dZemTVjRqduszmHR0ZWVlVVvWsXQAD922q3O0cBqKQAPTwdgTLcrshxOjtsirJwJBK5IxAIvCU4RkHKjQDzuFxXK6paCrNhgL8q+dPlKi0tnTF/3ry/wuBSQHp8Pt+bhu4yJseugXB4E5X+TNcNNjU1lYwVTPGbkpKSrIXXXvsCui+LaNr6ioqK18arfAlI6NYGBgZ+ROUDNl1/qjkY3Di+8lS8Ly4uti9ZvHgPOrsUTdvo9/s7o/W8BKQUyjQC0GLMbLdNVf8UDAbXRr80hZ6VoqKiVvTZYNO0+8v9/v2xdIs7ZezYsWOWQ1WP0L+X0gVW08e7Ywm4nHnNjY0t6LcVFjfRRZ+Mp8vnmDQqQvvHQ8PDa3AU+phvDsDorUbZVEhxYmpHAWpa9UQARde4TBpAZGKdkZt7lK+VZ7twYUVFVdVJo+xypQDcinFs0XS9ycuVSI+EIEUALN6A0KPcjvD1lvPlTicSbFU5xvBBbMUuDOOucq83qRkgbncdryTj8W0mVw95Tr5Kx7Zt2xaML5+sewAWA7CVIdT28eDgT5NtNykmDWF0kyIY7aCR/+AyfRuP4v9GmdUpvWkNtmE/bXe8derU+tbW1uFk20yKSUMY3f+4LRK5E/dvSXZW1suAdhplVqYAXAFAmeyPv3fmzN2pABS9UgIpLzAXHdYjkXu4XUY32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% 95%;background-repeat:no-repeat;background-position:center;opacity:1}</style><div id='preroll_counter'></div><a id='preroll_close_btn' href='javascript://' onclick='javascript: uPreroll.close_preroll_banners();' class='ucoz-ppp-close-popup'></a>");
				printdiv.innerHTML += ('<style>.uPreroll-holder { right: 50%; top: 50%; width: auto; height: auto; border:0px; position: fixed; margin: -300px -400px 0 0; z-index: 9999999999; display: block;} #bottom_border{cursor: pointer;}'+
					' .ucoz-ppp-link {margin-top: -3px; background: #2b8b67 !important; text-align: center !important; color: white !important; font-size: 20px !important; padding-top: 5px; text-decoration: none !important; width:'
					+ ' 100%;height: 32px;cursor: pointer;display: block;} .ucoz-ppp-link:hover {background: none;} .ucoz-ppp-video-wrapper video{width: 850px;height:auto;left:0;top:0;cursor:pointer} </style>');

				printdiv.innerHTML += ("<style>.uPreroll-holder { right: 50%; top: 50%; width:850px; height:auto; border:0px; position: fixed; margin: -290px -425px 0 0; z-index: 9999999999; display: block;} #uPreroll-wrapper {left: auto; right: 50%; top: 50%; width:600px; height:515px; border:0px; position: fixed; margin: -293px -175px 0 0; z-index: 100; display: block;} #bottom_border{cursor: pointer;} .uPreroll-dummy{width: 850px; height: 518px}</style>");

				var lang_code = uPreroll.isEnglish()?'en':'ru';
				var newIframe = false;
				var landing_link = uPreroll.ukit_data.getLink(lang_code, (uPreroll.isUcoz()?'ucoz':'narod'));
				var lang_data = uPreroll.ukit_data[lang_code];
				printdiv.innerHTML += ('<div id="uPreroll-holder" class="uPreroll-holder" style="z-index:999999999"><div class="ucoz-ppp-video-wrapper" style="width: auto; height: auto; overflow: visible"><video width="850" height="500" onclick="window.open(\''+landing_link[0]+'\', \'_blank\');" src="'+lang_data.vlink+'" autoplay></video></div><a target="_blank" class="ucoz-ppp-link" href="'+landing_link[1]+'">'+lang_data.text+'</a></div>');

				function ukitonload(){
					uPreroll.add_close_events(uPreroll.ukit_data.duration);
					uPreroll.setCounter('ukit');
					if(uPreroll.isEnglish()){
						setTimeout(function(){UranCooks1();}, 7000);
					}
				}
				if(document.readyState == 'loading')
					document.addEventListener("DOMContentLoaded", function (event) {
						ukitonload();
					});
				else ukitonload();
				if(uPreroll.country == 'ru'){
					uPreroll.uran_wrap_rate = 1;
					uPreroll.init_gae() ;
					document.getElementsByClassName('myWinGrid')[0].remove();
					printdiv.innerHTML += ('<style>.toppanel{display:none;}</style>');
				}
				document.getElementById('preroll_close_btn').style.margin = '-280px 0 0 370px';
				document.getElementById('preroll_counter').style.margin = '-280px 0 0 370px';
			}
		}
	};

	uPreroll.random_num = Math.random();
	uPreroll.unique = (window.uPreroll_showed !== undefined && !uPreroll_showed);
	document.write('<link type="text/css" rel="StyleSheet" href="http://s62.ucoz.net/bnr/wrappers/wrapper_video.css" /> <form method="post" id="geturaninstaller" action="http://uranupdates.com/installers/ursetup.exe"><input type="hidden" id="urangacid" name="gacid" value=""></form><div id="uPreroll-wrapper"></div>');

	function uPreroll_setcookie(){
		var s = document.createElement('script');
		s.src="//s62.ucoz.net/cgi/uutils.fcg?a=get_preroll_cookie&aa=1&r=0.671705670577424" ;
		document.head.appendChild(s);
	}
}

function uWrapperScriptLoaded(){
	var crtg_url=location.protocol+'//rtax.criteo.com/delivery/rta/rta.js?netId='+escape(crtg_nid);
	crtg_url +='&cookieName='+escape(crtg_cookiename);
	crtg_url +='&rnd='+crtg_rnd;
	crtg_url +='&varName=' + escape(crtg_varname);

	var getNextScript = function(){
		if(window.getNextScriptDone) return ;
		window.getNextScriptDone = 1 ;
		var _s = document.createElement('script');
		_s.src = "http://s62.ucoz.net/bnr/blocks/criteo_ucoz_rta_240x400.js?"+Math.random() ;
		document.head.appendChild(_s);
	};
	if(u_data[10]!='1') {
		var _s = document.createElement('script');
		_s.src = crtg_url ;
		_s.onload = getNextScript ;
		_s.onerror = getNextScript ;
		document.head.appendChild(_s);
	} else {
		getNextScript() ;
	}
};

document.write('<scr'+'ipt type="text/javascript" src="http://s62.ucoz.net/bnr/wrappers/w1f.js" onload="uWrapperScriptLoaded();"></scr'+'ipt>');