
var fadespeed=50;function createAjaxObj(){var httprequest=false
if(window.XMLHttpRequest&&!window.ActiveXObject){httprequest=new XMLHttpRequest()
if(httprequest.overrideMimeType)
httprequest.overrideMimeType('text/xml')}
else if(window.ActiveXObject){try{httprequest=new ActiveXObject("Msxml2.XMLHTTP");}
catch(e){try{httprequest=new ActiveXObject("Microsoft.XMLHTTP");}
catch(e){}}}
return httprequest}
function ajax_ticker(xmlfile,divId,divClass,delay,fadeornot){this.xmlfile=xmlfile
this.tickerid=divId
var delay=(typeof delay=="number")?[delay]:delay
this.delay=delay[0]
this.refetchdelay=delay[1]
this.mouseoverBol=0
this.pointer=0
this.opacitystring=(typeof fadeornot!="undefined")?"width: 100%; filter:progid:DXImageTransform.Microsoft.alpha(opacity=100); opacity: 1":""
if(this.opacitystring!="")this.delay+=500
this.opacitysetting=0.2
this.messages=[]
this.ajaxobj=createAjaxObj()
document.write('<div id="'+divId+'" class="'+divClass+'"><div style="'+this.opacitystring+'">Kraunama...</div></div>')
this.getXMLfile()}
ajax_ticker.prototype.getXMLfile=function(){this.ajaxobj=createAjaxObj()
if(this.ajaxobj){var instanceOfTicker=this
var url=this.xmlfile+"?bustcache="+new Date().getTime()
this.ajaxobj.onreadystatechange=function(){instanceOfTicker.initialize()}
this.ajaxobj.open('GET',url,true)
this.ajaxobj.send(null)}}
ajax_ticker.prototype.initialize=function(){if(this.ajaxobj.readyState==4){if(this.ajaxobj.status==200||window.location.href.indexOf("http")==-1){this.contentdiv=document.getElementById(this.tickerid).firstChild
var xmldata=this.ajaxobj.responseText
this.contentdiv.style.display="none"
this.contentdiv.innerHTML=xmldata
if(this.contentdiv.getElementsByTagName("div").length==0){this.contentdiv.innerHTML="<b>Error</b> fetching remote ticker file!"
return}
var instanceOfTicker=this
document.getElementById(this.tickerid).onmouseover=function(){instanceOfTicker.mouseoverBol=1}
document.getElementById(this.tickerid).onmouseout=function(){instanceOfTicker.mouseoverBol=0}
clearTimeout(this.fadetimer1)
clearTimeout(this.pausetimer)
clearTimeout(this.rotatetimer)
this.mouseoverBol=0
this.messages=[]
for(var i=0;i<this.contentdiv.getElementsByTagName("div").length;i++){if(this.contentdiv.getElementsByTagName("div")[i].className=="message")
this.messages[this.messages.length]=this.contentdiv.getElementsByTagName("div")[i].innerHTML}
this.contentdiv.innerHTML=""
this.contentdiv.style.display="block"
this.rotatemsg()
if(this.refetchdelay>5000)
setTimeout(function(){instanceOfTicker.getXMLfile()},this.refetchdelay)}}}
ajax_ticker.prototype.rotatemsg=function(){var instanceOfTicker=this
if(this.mouseoverBol==1)
this.pausetimer=setTimeout(function(){instanceOfTicker.rotatemsg()},100)
else{if(this.contentdiv.filters)
this.contentdiv.style.filter="progid:DXImageTransform.Microsoft.alpha(opacity="+(this.opacitysetting*100)+")";this.fadetransition("reset")
this.contentdiv.innerHTML=this.messages[this.pointer]
this.fadetimer1=setInterval(function(){instanceOfTicker.fadetransition('up','fadetimer1')},fadespeed)
this.pointer=(this.pointer<this.messages.length-1)?this.pointer+1:0
this.rotatetimer=setTimeout(function(){instanceOfTicker.rotatemsg()},this.delay)}}
ajax_ticker.prototype.fadetransition=function(fadetype,timerid){var contentdiv=this.contentdiv
if(fadetype=="reset")
this.opacitysetting=0.2
if(contentdiv.filters&&contentdiv.filters[0]){if(typeof contentdiv.filters[0].opacity=="number")
contentdiv.filters[0].opacity=this.opacitysetting*100
else
contentdiv.style.filter="alpha(opacity="+this.opacitysetting*100+")"}
else if(contentdiv.style.opacity!="undefined"){contentdiv.style.opacity=this.opacitysetting}
else
this.opacitysetting=1
if(fadetype=="up")
this.opacitysetting+=0.1
if(fadetype=="up"&&this.opacitysetting>=1){if(contentdiv.style&&contentdiv.style.removeAttribute)
contentdiv.style.removeAttribute('filter')
clearInterval(this[timerid])}}
function DisableInp(form){if(document.getElementById){for(var i=0;i<form.length;i++){if(form.elements[i].type.toLowerCase()=="submit")
form.elements[i].disabled=true;}}
return true;}
function reply(cid,nid,name,mail,rep_root){name='comment-'+cid+'-actions';text='<div id="reply" class="reply-div">'+'<form  method="post" onsubmit="DisableInp(this);" id="reply-form">'+'<textarea name="comments" cols="30" rows="10" class="textarea"></textarea><br /><br />'+'<input type="submit" name="submit" id="reply-submit" class="bbcodes_poll" value="Rašyti" onclick="replysend(\''+name+'\'); return false;"/>'+'<input type="hidden" name="post_id" value="'+nid+'" />'+'<input type="hidden" name="reply" value="'+cid+'" />'+'<input type="hidden" name="rep_root" value="'+rep_root+'" />'+'<input type="hidden" name="trace" value="y"'+'<input type="hidden" name="name" value="'+name+'"'+'<input type="hidden" name="mail" value="'+mail+'"'+'</form>'+'</div>';if(document.getElementById('reply')){var element=document.getElementById('reply');element.parentNode.removeChild(element);}
name='comment-'+cid+'-actions';document.getElementById(name).innerHTML=text;}
function replysend(toform){var form=document.getElementById('reply-form');var dle_comments_ajax=new dle_ajax();if(form.comments.value==''||form.name.value==''){alert(dle_req_field);return false}
dle_comments_ajax.onShow('');var varsString="post_id="+form.post_id.value;dle_comments_ajax.setVar("comments",dle_comments_ajax.encodeVAR(form.comments.value));dle_comments_ajax.setVar("name",dle_comments_ajax.encodeVAR(form.name.value));dle_comments_ajax.setVar("mail",dle_comments_ajax.encodeVAR(form.mail.value));dle_comments_ajax.setVar("reply",dle_comments_ajax.encodeVAR(form.reply.value));dle_comments_ajax.setVar("rep_root",dle_comments_ajax.encodeVAR(form.rep_root.value));dle_comments_ajax.setVar("skin",dle_skin);if(form.sec_code){dle_comments_ajax.setVar("sec_code",form.sec_code.value)}
dle_comments_ajax.requestFile=dle_root+"engine/ajax/addcomments_reply.php";dle_comments_ajax.method='POST';dle_comments_ajax.execute=true;dle_comments_ajax.element=toform;dle_comments_ajax.sendAJAX(varsString)}
function valuate(cid,value){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var value=ajax.encodeVAR(value);var varsString="";ajax.setVar("cid",cid);ajax.setVar("value",value);ajax.requestFile=dle_root+"engine/ajax/valuate.php";ajax.method='POST';ajax.element='comment-'+cid+'-balance';ajax.sendAJAX(varsString);return false;}
function changeVisibility(id){var el=document.getElementById('comment-'+id);el.style.display=(el.style.display!='none'?'none':'');var el=document.getElementById('comment-hidden-'+id);el.style.display=(el.style.display!='none'?'none':'');}
function fetchComments(cid){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("nid",cid);ajax.requestFile=dle_root+"engine/ajax/com_getcomments.php";ajax.method='POST';ajax.element='comments-list';ajax.sendAJAX(varsString);ajax.onCompletion=function(){if(this.response==''){}else{var el=document.getElementById('comments-list-'+cid);el.style.display=(el.style.display!='none'?'none':'');}}
return false;}
function fetchReplies(cid){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("cid",cid);ajax.requestFile=dle_root+"engine/ajax/getreplies.php";ajax.method='POST';ajax.element='comment-'+cid+'-actions';ajax.sendAJAX(varsString);ajax.onCompletion=function(){if(this.response==''){}else{var el=document.getElementById('link-'+cid);el.style.display=(el.style.display!='none'?'none':'');}}
return false;}
function compin(cid,act){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("cid",cid);ajax.setVar("act",act);ajax.requestFile=dle_root+"engine/ajax/com_pin.php";ajax.method='POST';ajax.element='compin-'+cid;ajax.sendAJAX(varsString);return false;}
function minusval(cid){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("cid",cid);ajax.requestFile=dle_root+"engine/ajax/com_minusval.php";ajax.method='POST';ajax.element='minusval-'+cid;ajax.sendAJAX(varsString);return false;}
function deleteComm(cid){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("cid",cid);ajax.requestFile=dle_root+"engine/ajax/com_delete.php";ajax.method='POST';ajax.element='deletecom-'+cid;ajax.sendAJAX(varsString);return false;}
function blockComm(cid){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("cid",cid);ajax.requestFile=dle_root+"engine/ajax/com_block.php";ajax.method='POST';ajax.element='blockcom-'+cid;ajax.sendAJAX(varsString);return false;}
function reportComm(cid){var ajax=new dle_ajax();ajax.onShow('');var cid=ajax.encodeVAR(cid);var varsString="";ajax.setVar("cid",cid);ajax.requestFile=dle_root+"engine/ajax/com_report.php";ajax.method='POST';ajax.element='reportcom-'+cid;ajax.sendAJAX(varsString);return false;}
var gradualFader={}
gradualFader.baseopacity=0.7
gradualFader.increment=0.1
document.write('<style type="text/css">\n')
document.write('.gradualfader{filter:progid:DXImageTransform.Microsoft.alpha(opacity='+gradualFader.baseopacity*100+'); -moz-opacity:'+gradualFader.baseopacity+'; opacity:'+gradualFader.baseopacity+';}\n')
document.write('</style>')
gradualFader.setopacity=function(obj,value){var targetobject=obj
if(targetobject&&targetobject.filters&&targetobject.filters[0]){if(typeof targetobject.filters[0].opacity=="number")
targetobject.filters[0].opacity=value*100
else
targetobject.style.filter="alpha(opacity="+value*100+")"}
else if(targetobject&&typeof targetobject.style.MozOpacity!="undefined")
targetobject.style.MozOpacity=value
else if(targetobject&&typeof targetobject.style.opacity!="undefined")
targetobject.style.opacity=value
targetobject.currentopacity=value}
gradualFader.fadeupdown=function(obj,direction){var targetobject=obj
var fadeamount=(direction=="fadeup")?this.increment:-this.increment
if(targetobject&&(direction=="fadeup"&&targetobject.currentopacity<1||direction=="fadedown"&&targetobject.currentopacity>this.baseopacity)){this.setopacity(obj,targetobject.currentopacity+fadeamount)
window["opacityfader"+obj._fadeorder]=setTimeout(function(){gradualFader.fadeupdown(obj,direction)},50)}}
gradualFader.clearTimer=function(obj){if(typeof window["opacityfader"+obj._fadeorder]!="undefined")
clearTimeout(window["opacityfader"+obj._fadeorder])}
gradualFader.isContained=function(m,e){var e=window.event||e
var c=e.relatedTarget||((e.type=="mouseover")?e.fromElement:e.toElement)
while(c&&c!=m)try{c=c.parentNode}catch(e){c=m}
if(c==m)
return true
else
return false}
gradualFader.fadeinterface=function(obj,e,direction){if(!this.isContained(obj,e)){gradualFader.clearTimer(obj)
gradualFader.fadeupdown(obj,direction)}}
gradualFader.collectElementbyClass=function(classname){var classnameRE=new RegExp("(^|\\s+)"+classname+"($|\\s+)","i")
var pieces=[]
var alltags=document.all?document.all:document.getElementsByTagName("*")
for(var i=0;i<alltags.length;i++){if(typeof alltags[i].className=="string"&&alltags[i].className.search(classnameRE)!=-1)
pieces[pieces.length]=alltags[i]}
return pieces}
gradualFader.init=function(){var targetobjects=this.collectElementbyClass("gradualfader")
for(var i=0;i<targetobjects.length;i++){targetobjects[i]._fadeorder=i
this.setopacity(targetobjects[i],this.baseopacity)
targetobjects[i].onmouseover=function(e){gradualFader.fadeinterface(this,e,"fadeup")}
targetobjects[i].onmouseout=function(e){gradualFader.fadeinterface(this,e,"fadedown")}}}
function loadImg(imgid,loader_class){var CoverImage=document.getElementById('img-'+imgid);CoverImage.style.visibility='hidden';var img='/templates/filmai_black/images/imgloading2.gif';document.write('<img id="loader-'+imgid+'" src="'+img+'" class="'+loader_class+'" title="Kraunama..." />');document.getElementById('img-'+imgid).onload=function(){CoverImage.style.visibility='visible';var LoadImage=document.getElementById('loader-'+imgid);LoadImage.style.display='none';}}
function loadTbl(imgid,loader_class){var CoverImage=document.getElementById(imgid);CoverImage.style.visibility='hidden';var img='/templates/filmai_black/images/imgloading2.gif';document.write('<img id="loader-'+imgid+'" src="'+img+'" class="'+loader_class+'" title="Kraunama..." />');document.getElementById(imgid).onload=function(){CoverImage.style.visibility='visible';var LoadImage=document.getElementById('loader-'+imgid);LoadImage.style.display='none';}}
function FridayMovieAdd(id){var ajax=new dle_ajax();ajax.onShow('');var id=ajax.encodeVAR(id);var varsString="";ajax.setVar("id",id);ajax.requestFile=dle_root+"engine/ajax/friday_movie_add.php";ajax.method='POST';ajax.element='friday_movie_div';ajax.sendAJAX(varsString);return false;}
function Line900Req(Fn){document.getElementById('line_900_div').innerHTML="";if(Fn.code.value.length<1){alert('Neįrašytas kodas!');return false;}
var ajax=new dle_ajax();ajax.onShow('');var varsString="";var code=Fn.code.value;var code=ajax.encodeVAR(code);var ui=Fn.ui.value;var ui=ajax.encodeVAR(ui);ajax.setVar("code",code);ajax.setVar("ui",ui);ajax.requestFile=dle_root+"900linija.html";ajax.method='POST';ajax.element='line_900_div';ajax.sendAJAX(varsString);return false;}
function PlQualitySet(quality){var ajax=new dle_ajax();ajax.onShow('');var quality=ajax.encodeVAR(quality);var varsString="";ajax.setVar("quality",quality);ajax.requestFile=dle_root+"engine/ajax/pl_quality.php";ajax.method='POST';ajax.element='pl_quality';ajax.sendAJAX(varsString);return false;}
function deleteMe(){var ajax=new dle_ajax();ajax.onShow('');var varsString="";ajax.requestFile=dle_root+"engine/ajax/delete_me.php";ajax.method='POST';ajax.element='deleteMe_div';ajax.sendAJAX(varsString);return false;}
function myEvalFunction(){return'Eval Function Title::Text to be displayed in the body of the tooltip';}
function fbpopup(ownr,tp){domTT_activate(ownr,tp,'content',document.getElementById('balloon1'),'x',document.getElementById('fbbox').offsetLeft+9,'y',document.getElementById('fbbox').offsetTop-110,'delay',0,'trail',true,'fade','both','fadeMax',100);}
function tickpopup(ownr,tp){domTT_activate(ownr,tp,'content',document.getElementById('balloon2'),'x',document.getElementById('tickimg').offsetLeft+9,'y',document.getElementById('tickimg').offsetTop-110,'delay',0,'trail',true,'fade','both','fadeMax',100);}
function hidePlBtn(){document.getElementById("play_btn").innerHTML="<a class='submit-frm' href='javascript: void()' onClick='window.location.reload()' title='Perkraukite puslapį. (D.U.K. #13)'><img src='/templates/filmai_black/images/refresh_icon_02.png' width='34' height='34' alt='Refresh' /></a>";}
function PlayDlBtnPress(divid){setTimeout('hidePlBtn()',5000);}
function toggle(obj){var el=document.getElementById(obj);el.style.display=(el.style.display!='none'?'none':'');}
var domTT_styleClass='none';var domTT_draggable=true;window.onload=function(){var myTips1=new MooTips($$('.toolTipImg'),{maxTitleChars:80});var cookie={set:function(n,v,d){if(d){var dt=new Date();dt.setDate(dt.getDate()+d);d='; expires='+dt.toGMTString();}
document.cookie=n+'='+escape(v)+(d?d:'')+'; path=/';},get:function(n){var c=document.cookie.match('(^|;)\x20*'+n+'=([^;]*)');return c?unescape(c[2]):null;},kill:function(n){cookie.set(n,'',-1);}};if(!cookie.get('tipShown')){setTimeout("fbpopup(this, null)",0);setTimeout(domTT_closeAll,6000);cookie.set('tipShown','true');}}
var cookie={set:function(n,v,d){if(d){var dt=new Date();dt.setDate(dt.getDate()+d);d='; expires='+dt.toGMTString();}
document.cookie=n+'='+escape(v)+(d?d:'')+'; path=/';},get:function(n){var c=document.cookie.match('(^|;)\x20*'+n+'=([^;]*)');return c?unescape(c[2]):null;},kill:function(n){cookie.set(n,'',-1);}};function in_array(needle,haystack,argStrict){var key='',strict=!!argStrict;if(strict){for(key in haystack){if(haystack[key]===needle){return true;}}}else{for(key in haystack){if(haystack[key]==needle){return true;}}}
return false;}
function set_watched_cookie(movid){if(!cookie.get('watchlist')){cookie.set('watchlist',movid,100);}else{list=cookie.get('watchlist');new_list=list+','+movid;cookie.set('watchlist',new_list,100);}}
function get_watched_class(movid,tclass,id){if(cookie.get('watchlist')){list_items=cookie.get('watchlist').split(',');if(in_array(movid,list_items)){document.write('<img id="'+id+'" onclick="tickpopup(this, null);" src="/templates/filmai_black/images/tick-icon.png" class="'+tclass+'" title="Filmas peržiuretas" />');}}}
function remove_watched_cookie_item(movid){if(cookie.get('watchlist')){list_items=cookie.get('watchlist').split(',');var idx=list_items.indexOf(movid);if(idx!=-1){new_list=list_items.splice(idx,1);cookie.set('watchlist',list_items);var el=document.getElementById('tickimg');el.style.display='none';}}}
function clear_watched_cookie_list(){cookie.set('watchlist','');var el=document.getElementById('tickimg');el.style.display='none';}
function set_watched_cookie_serial(movid,tclass){if(!cookie.get('watchlist_serial')){cookie.set('watchlist_serial',movid,100);}else{list=cookie.get('watchlist_serial');new_list=list+','+movid;cookie.set('watchlist_serial',new_list,100);}
document.getElementById('watched_episode_div_'+movid).innerHTML='<img src="/templates/filmai_black/images/tick-icon.png" class="'+tclass+'" width="18px" title="Filmas peržiuretas" />';}
function get_watched_class_serial(movid,tclass,id){if(cookie.get('watchlist_serial')){list_items=cookie.get('watchlist_serial').split(',');if(in_array(movid,list_items)){document.write('<img id="'+id+'" onclick="tickpopup(this, null);" src="/templates/filmai_black/images/tick-icon.png" class="'+tclass+'" width="18px" title="Filmas peržiuretas" />');}}}

function ImdbInfo(title, id) {
	var ajax = new dle_ajax();
	ajax.onShow ('');
	
	var title = ajax.encodeVAR( title );
	var id = ajax.encodeVAR( id );
	var varsString = "";
	ajax.setVar("title", title);
	ajax.setVar("id", id);
	
	ajax.requestFile = dle_root + "engine/ajax/imdb.php";
	ajax.method = 'POST';
	ajax.element = 'imdb_div';
	ajax.sendAJAX(varsString);
	return false;	
}

function refreshRelated(id, cats1, cats2) {
	var ajax = new dle_ajax();
	ajax.onShow ('');
	
	var id = ajax.encodeVAR( id );
	var cats1 = ajax.encodeVAR( cats1 );
	var cats2 = ajax.encodeVAR( cats2 );
	var varsString = "";
	ajax.setVar("id", id);
	ajax.setVar("cats1", cats1);
	ajax.setVar("cats2", cats2);
	
	ajax.requestFile = dle_root + "engine/ajax/related.php";
	ajax.method = 'POST';
	ajax.element = 'related_div';
	ajax.sendAJAX(varsString);
	return false;	
}

function soundTrackReq(movieid) {
	var ajax = new dle_ajax();
	ajax.onShow ('');
	
	var movieid = ajax.encodeVAR( movieid );
	var varsString = "";
	ajax.setVar("movieid", movieid);
	
	ajax.requestFile = dle_root + "engine/ajax/soundtrackreq.php";
	ajax.method = 'POST';
	ajax.element = 'movievoiceask';
	ajax.sendAJAX(varsString);
	return false;	
}

function SetMovieFixed(movieid){
	var ajax=new dle_ajax();
	ajax.onShow('');
	
	var movieid = ajax.encodeVAR( movieid );
	var varsString = "";
	ajax.setVar("movieid", movieid);
	
	ajax.requestFile = dle_root + "engine/ajax/set_movie_fixed.php";
	ajax.method = 'POST';
	ajax.element = 'movie-fix-'+movieid;
	ajax.sendAJAX(varsString);
	return false;	
}

function newWindow(a_str_windowURL,a_str_windowName,a_int_windowWidth,a_int_windowHeight,a_bool_scrollbars,a_bool_resizable,a_bool_menubar,a_bool_toolbar,a_bool_addressbar,a_bool_statusbar,a_bool_fullscreen){var int_windowLeft=(screen.width-a_int_windowWidth)/2;var int_windowTop=(screen.height-a_int_windowHeight)/2;var str_windowProperties='height='+a_int_windowHeight+',width='+a_int_windowWidth+',top='+int_windowTop+',left='+int_windowLeft+',scrollbars='+a_bool_scrollbars+',resizable='+a_bool_resizable+',menubar='+a_bool_menubar+',toolbar='+a_bool_toolbar+',location='+a_bool_addressbar+',statusbar='+a_bool_statusbar+',fullscreen='+a_bool_fullscreen+'';var obj_window=window.open(a_str_windowURL,a_str_windowName,str_windowProperties)
if(parseInt(navigator.appVersion)>=4){obj_window.window.focus();}}
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('a 2D(){7 z=9.I("1F");6(z!=C){z.h.1G="2E";z.h.O=1H().18+\'1i\'}};a 1H(){7 d=9,w=m,P=d.1I&&d.1I!=\'2F\'?d.s:d.t;7 b=d.t;7 1J=(w.Q&&m.1K)?w.Q+w.1K:1j.1k(b.1L,b.2G),18=(9.1l&&!m.1m)?1j.1k(P.1L,P.D):(d.s.D||8.Q);7 O=(9.1l&&!m.1m)?P.D:8.Q;q{18:1j.1k(18,1J),O:O,J:(9.1l&&!m.1m)?P.J:1n}};a 2H(){7 z=9.I("1F");6(z!=C){z.h.1G="2I";z.h.O="2J"}};a 2K(R){7 19=R.1M;1N((R=R.2L)!=C){19+=R.1M}q 19};a S(){5.1o=\'\';5.o=\'\'};S.1p.1O=a(){K{6(!5.o){q}c{5.o.h.1q=\'1P\'}}L(e){q}};S.1p.1Q=a(){7 A=0;6(9.s&&9.s.J){A=9.s.J}c 6(9.t&&9.t.J){A=9.t.J}c 6(m.1n){A=m.1n}c 6(m.A){A=m.A}q A};S.1p.1R=a(){K{5.o=9.I(5.1o)}L(e){q}7 T=0;7 U=0;6(1S(m.1T)==\'2M\'){T=m.1T;U=m.Q}c 6(9.s&&(9.s.1a||9.s.D)){T=9.s.1a;U=9.s.D}c 6(9.t&&(9.t.1a||9.t.D)){T=9.t.1a;U=9.t.D}5.o.h.2N=\'2O\';5.o.h.1q=\'2P\';5.o.h.2Q=2R;7 V=1U(5.o.h.2S);7 W=1U(5.o.h.2T);V=V?V:2U;W=W?W:2V;7 1V=5.1Q();7 X=(T-W)/2;7 Y=(U-V)/2+1V;X=(X<0)?0:X;Y=(Y<0)?0:Y;5.o.h.2W=X+"1i";5.o.h.19=Y+"1i"};a 2X(1W){5.1r="2Y 2Z 30.\\n";5.1s=1W;5.Z="1X";5.k="";5.1Y=10;5.1Z=1t;5.1b=1t;5.1c=0;5.E=C;5.20=a(){};5.21=a(){};5.22=a(){};5.23=a(){};5.31=a(1u){6(!5.1c){5.1c=1;6(1u){9.I(\'24-25-27\').11=1u}5.E=B S();5.E.1o=\'24-25\';5.E.1R()}q};5.28=a(){K{6(5.E&&5.E.o){5.E.1O()}}L(e){}5.1c=0;q};5.29=a(){K{5.f=B 2a("32.2b")}L(e){K{5.f=B 2a("33.2b")}L(34){5.f=C}}6(!5.f&&1S 2c!="35")5.f=B 2c();6(!5.f){5.2d=10}};5.2e=a(12,F){6(5.k.u<3){5.k=12+"="+F}c{5.k+="&"+12+"="+F}};5.2f=a(12,F){7 2g=2h(12)+"="+2h(F);q 2g};5.2i=a(2j){13=2j.1d(\'&\');1e(i=0;i<13.u;i++){M=13[i].1d(\'=\');6(M[0].1v(\'36;\')!=-1){M[0]=M[0].2k(4)}13[i]=5.2f(M[0],M[1])}q 13.37(\'&\')};5.38=a(p){p=p.39();p=p.14(/\\+/g,"%2B");p=p.14(/\\=/g,"%3D");p=p.14(/\\?/g,"%3F");p=p.14(/\\&/g,"%26");q p};5.2l=a(){7 15=B 2m;7 1w=1t;15=15.2n();7 1x=/<16.*?>(.|[\\r\\n])*?<\\/16>/2o;7 G=1x.1y(5.l);6(G!=C){7 v=B 2p(G.2q());7 1w=10;1N(G){G=1x.1y(5.l);6(G!=C)v.3a(G.2q())}1e(7 i=0;i<v.u;i++){5.l=5.l.14(v[i],\'<2r 3b="\'+15+i+\'" h="1q:1P;"></2r>\')}}6(5.1b){5.y.11+=5.l}c{5.y.11=5.l}6(1w){7 1z=/<16.*?>((.|[\\r\\n])*?)<\\/16>/2o;1e(i=0;i<v.u;i++){7 1A=9.I(15+\'\'+i);7 1B=1A.3c;1B.3d(1A);1z.3e=0;7 2s=1z.1y(v[i]);7 1C=1B.3f(9.3g(\'16\'));1C.27=2s[1];7 2t=v[i].2k(v[i].1v(\' \',0),v[i].1v(\'>\',0));7 17=2t.1d(\' \');6(17.u>1){1e(7 j=0;j<17.u;j++){6(17[j].u>0){7 N=17[j].1d(\'=\');N[1]=N[1].3h(1,(N[1].u-2));1C.3i(N[0],N[1])}}}}}};5.3j=a(1f){5.1D=B 2p(2);6(5.2d&&5.1r){1E(5.1r)}c{6(1f){6(5.k.u){5.k=5.k+"&"+1f}c{5.k=1f}}6(5.1Y){7 2u=B 2m().2n();5.k=5.2i(5.k);5.2e("3k",2u)}6(5.2v){5.y=9.I(5.2v)}6(5.f){7 8=5;6(5.Z=="3l"){7 2w=5.1s+"?"+5.k;5.f.2x(5.Z,2w,10)}c{5.f.2x(5.Z,5.1s,10)}6(5.Z=="1X"){K{5.f.3m(\'3n-3o\',\'3p/x-3q-3r-3s\')}L(e){}}5.f.3t(5.k);5.f.3u=a(){3v(8.f.3w){1g 1:8.20();1h;1g 2:8.21();1h;1g 3:8.22();1h;1g 4:8.l=8.f.3x;8.2y=8.f.2y;8.1D[0]=8.f.3y;8.1D[1]=8.f.3z;8.28();8.23();6(8.y){7 H=8.y.3A;H=H.3B();6(H=="3C"||H=="3E"||H=="3G"||H=="3H"){6(8.l==\'2z\'){1E(\'2A 2C\')}c{6(8.1b){8.y.F+=8.l}c{8.y.F=8.l}}}c{6(8.l==\'2z\'){1E(\'2A 2C\')}c{6(8.1Z){8.2l()}c{6(8.1b){8.y.11+=8.l}c{8.y.11=8.l}}}}}8.k="";1h}}}}};5.29()};',62,230,'|||||this|if|var|self|document|function||else|||xmlhttp||style|||URLString|response|window||divobj|url|return||documentElement|body|length|js_arr|||elementObj|busyLayer|scrollY|new|null|clientHeight|centerdiv|value|js_str|elemNodeName|getElementById|scrollTop|try|catch|urlVars|param_arr|height|iebody|innerHeight|obj|center_div|my_width|my_height|divheight|divwidth|setX|setY|method|true|innerHTML|name|varArray|replace|milisec|script|params_arr|pageHeight|top|clientWidth|add_html|loading_fired|split|for|urlstring|case|break|px|Math|max|all|opera|pageYOffset|divname|prototype|display|AjaxFailedAlert|requestFile|false|message|indexOf|jsfound|js_reg|exec|js_content_reg|mark_node|mark_parent_node|script_node|responseStatus|alert|busy_layer|visibility|getPageSize|compatMode|yScroll|scrollMaxY|scrollHeight|offsetTop|while|clear_div|none|Ywindow|move_div|typeof|innerWidth|parseInt|scrolly|file|POST|encodeURIString|execute|onLoading|onLoaded|onInteractive|onCompletion|loading|layer||text|onHide|createAJAX|ActiveXObject|XMLHTTP|XMLHttpRequest|failed|setVar|encVar|varString|encodeURIComponent|encodeURLString|string|substring|runResponse|Date|getTime|ig|Array|shift|span|js_content|script_params_str|timeval|element|totalurlstring|open|responseXML|error|Access||denied|showBusyLayer|visible|BackCompat|offsetHeight|hideBusyLayer|hidden|0px|_get_obj_toppos|offsetParent|number|position|absolute|block|zIndex|99|Height|Width|50|200|left|dle_ajax|AJAX|not|supported|onShow|Msxml2|Microsoft|err|undefined|amp|join|encodeVAR|toString|push|id|parentNode|removeChild|lastIndex|appendChild|createElement|substr|setAttribute|sendAJAX|rndval|GET|setRequestHeader|Content|Type|application|www|form|urlencoded|send|onreadystatechange|switch|readyState|responseText|status|statusText|nodeName|toLowerCase|input||select||option|textarea'.split('|'),0,{}))
eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('5 K=k M();5 R=k M();5 1s;5 1t;5 1u;5 1v;7 2U(17,1R,1S,1T){5 d=k M();d[0]=\'<a s="2V://2W.2X.2Y/2Z/?1w=\'+17+\'" 18="19">\'+1R+\'</a>\';d[1]=\'<a s="\'+f+W+\'?X=30&1w=\'+17+\'" 18="19">\'+1S+\'</a>\';d[2]=\'<a s="\'+f+W+\'?X=31&1w=\'+17+\'" 18="19">\'+1T+\'</a>\';j d};7 32(e){6(K[e]!=""){8.g(\'Y-9-\'+e).S=K[e]}j l};7 1U(){K[1v]=\'\'};7 33(e,L){5 4=k v();5 1a=0;5 Z=\'\';6(8.g(\'34\'+e).N){1a=1}1v=e;4.w(\'\');6(35=="1"){Z=4.D(1b.1x(\'1V\'+e).1y())}t{Z=4.D(8.g(\'1V\'+e).r)}5 1W=4.D(8.g(\'1c-1X-\'+e).r);5 h="Z="+Z;4.c("9",e);4.c("1a",1a);4.c("1X",1W);4.c("1Y",4.D(8.g(\'1c-1Y-\'+e).r));4.c("1Z",L);4.c("H","20");4.x=f+"u/4/1d.o";4.y=\'1e\';4.z=\'Y-9-\'+e;4.10=1U;4.A(h);j l};7 21(){5 T=8.g(\'Y-9-\'+1u);5 I=1z(T);6(I){1A(0,I-1B)}};7 22(e,L){6(!K[e]||K[e]==\'\'){K[e]=8.g(\'Y-9-\'+e).S}5 4=k v();1u=e;4.w(\'\');5 h="";4.c("9",e);4.c("1Z",L);4.c("H","1c");4.x=f+"u/4/1d.o";4.y=\'O\';4.z=\'Y-9-\'+e;4.1f=J;4.10=21;4.A(h);j l};7 23(){5 T=8.g(\'11-9-\'+1s);5 I=1z(T);6(I){1A(0,I-1B)}};7 36(p){5 d=k M();d[0]=\'<a 12="24(\\\'\'+p+\'\\\'); j l;" s="#">\'+25+\'</a>\';d[1]=\'<a s="\'+f+\'?13=B&H=37&9=\'+p+\'">\'+26+\'</a>\';j d};7 24(m){6(!R[m]||R[m]==\'\'){R[m]=8.g(\'11-9-\'+m).S}5 4=k v();1s=m;4.w(\'\');5 h="";4.c("9",m);4.c("H","1c");4.x=f+"u/4/27.o";4.y=\'O\';4.z=\'11-9-\'+m;4.1f=J;4.10=23;4.A(h);j l};7 38(m){6(K[m]!=""){8.g(\'11-9-\'+m).S=R[m]}j l};7 28(){R[1t]=\'\'}7 39(m){5 4=k v();5 14=\'\';1t=m;4.w(\'\');6(1C=="15"){14=4.D(1b.1x(\'29\'+m).1y())}t{14=4.D(8.g(\'29\'+m).r)}5 h="14="+14;4.c("9",m);4.c("H","20");4.x=f+"u/4/27.o";4.y=\'1e\';4.z=\'11-9-\'+m;4.10=28;4.A(h);j l};7 3a(1g,L){5 4=k v();4.w(\'\');5 h="1g="+1g;4.c("H",L);4.c("1h",1i);4.x=f+"u/4/3b.o";4.y=\'O\';4.z=\'3c-9-\'+1g;4.A(h);j l};7 3d(){5 4=k v();5 E=4.D(8.g(\'E\').r);4.w(\'\');5 h="E="+E;4.x=f+"u/4/2a.o";4.y=\'1e\';4.z=\'3e-2a\';4.A(h);j l};7 3f(1D,1E){5 4=k v();4.w(\'\');5 h="";4.c("1E",1E);4.c("1D",1D);4.x=f+"u/4/2b.o";4.y=\'O\';4.z=\'2b-1F\';4.A(h)};7 3g(2c){16.1G(f+\'u/3h/3i.o?3j=\'+2c,\'\',\'1H=1,3k=2d,3l=2d, 1I=0, 1J=0, 1K=15\')};7 3m(1j,9){5 4=k v();4.w(\'\');5 h="2e="+1j;4.c("e",9);4.c("1h",1i);4.x=f+"u/4/2f.o";4.y=\'O\';4.z=\'2g-1F\';4.A(h)};7 3n(1j,9){5 4=k v();4.w(\'\');5 h="2e="+1j;4.c("e",9);4.c("1h",1i);4.c("3o","3p");4.x=f+"u/4/2f.o";4.y=\'O\';4.z=\'2g-1F-\'+9;4.A(h)};7 3q(){5 C=8.g(\'P-B-C\');5 q=k v();6(1C=="15"){8.g(\'B\').r=1b.1x(\'B\').1y();q.c("3r",\'3s\')}6(C.B.r==\'\'||C.E.r==\'\'){3t(3u);j l}q.w(\'\');5 h="2h="+C.2h.r;q.c("B",q.D(C.B.r));q.c("E",q.D(C.E.r));q.c("2i",q.D(C.2i.r));q.c("1h",1i);6(C.1L){q.c("1L",C.1L.r)}q.x=f+"u/4/3v.o";q.y=\'1e\';q.1f=J;q.z=\'P-4-B\';q.A(h)};7 3w(2j){F=\'\';6(16.2k){F=16.2k()}t 6(8.2l){F=8.2l.3x().1M}6(F!=""){F=\'[2m=\'+2j+\']\'+F+\'[/2m]\\n\'}};7 3y(E){5 1N=8.g(\'P-B-C\').B;5 1k="";6(1C=="3z"){6(F!=""){1N.r+=F}t{1N.r+="[b]"+E+"[/b],"+"\\n"}}t{6(F!=""){1k=F}t{1k="<b>"+E+"</b>,"+"<3A />"}1b.3B(\'B\',\'3C\',l,1k,J)}};7 3D(1O){6(1O!=\'\')2n(1O)};7 2n(9){5 G=2o;6(8.g){G=8.g(9)}t 6(8.2p){G=8.2p[9]}t 6(8.2q){G=8.2q[9]}6(!G){}t 6(G.U){6(G.U.1l=="1P"){G.U.1l=""}t{G.U.1l="1P"}}t{G.2r="3E"}};7 3F(){5 Q=8.3G;3H(5 i=0;i<Q.2s.3I;i++){5 1m=Q.2s[i];6(1m.3J==\'3K\'){6(Q.1n.N==J){1m.N=l}t{1m.N=J}}}6(Q.1n.N==J){Q.1n.N=l}t{Q.1n.N=J}};7 3L(V){5 1o=2t(2u);6(1o)8.1p=V};7 3M(1M){3N(\' \'+1M+\' \',\'\',l);8.g(\'2v\').U.2r="3O";8.g(\'2v\').U.1l="1P";3P=2o};7 2w(){3Q();5 T=8.g(\'P-2x\');5 I=1z(T);6(I){1A(0,I-1B)}};7 3R(h){3S();6(8.g(\'P-2y\').S!=\'\'){8.g(\'P-2y\').S=\'\'}5 4=k v();4.w(\'\');4.x=f+"u/4/3T.o";4.y=\'O\';4.1f=J;4.z=\'P-2x\';4.10=2w;4.A(h)};7 3U(1Q,2z){6(1Q!=2A){3V=2z;2A=1Q}};7 3W(V,p,1q){5 d=k M();d[0]=\'<a \'+V+\' >\'+2B+\'</a>\';d[1]=\'<a s="\'+f+\'1r.o?13=2C&2D=2E&2F=\'+p+\'">\'+2G+\'</a>\';d[2]=\'<a s="\'+f+\'1r.o?13=3X&3Y=\'+p+\'">\'+3Z+\'</a>\';6(1q==\'1\'){d[3]=\'<a 12="16.1G(\\\'\'+f+W+\'?X=2H&H=2I&9=\'+p+\'\\\', \\\'2J\\\',\\\'2K=0,1p=0,2L=0, 1J=0, 1I=0, 2M=0,1K=15,1H=0,2N=2O,2P=2Q\\\'); j l;" s="#">\'+2R+\'</a>\'}j d};7 40(V,2S,p,1q){5 d=k M();d[0]=\'<a \'+V+\' >\'+2B+\'</a>\';d[1]=\'<a \'+2S+\' >\'+41+\'</a>\';d[2]=\'<a s="\'+f+\'1r.o?13=2C&2D=2E&42=\'+p+\'">\'+2G+\'</a>\';6(1q==\'1\'){d[3]=\'<a 12="16.1G(\\\'\'+f+W+\'?X=2H&H=2I&2F=\'+p+\'\\\', \\\'2J\\\',\\\'2K=0,1p=0,2L=0, 1J=0, 1I=0, 2M=0,1K=15,1H=0,2N=2O,2P=2Q\\\'); j l;" s="#">\'+2R+\'</a>\'}j d};7 2T(p){5 1o=2t(2u);6(1o)8.1p=f+\'1r.o?13=43&9=\'+p+\'&44=\'+45};7 46(p,L){5 d=k M();d[0]=\'<a 12="22(\\\'\'+p+\'\\\', \\\'\'+L+\'\\\'); j l;" s="#">\'+25+\'</a>\';d[1]=\'<a s="\'+f+W+\'?X=1d&H=1d&9=\'+p+\'" 18="19">\'+26+\'</a>\';6(47){d[2]=\'<a 12="2T (\\\'\'+p+\'\\\'); j l;" s="#">\'+48+\'</a>\'}j d};',62,257,'||||ajax|var|if|function|document|id|||setVar|menu|news_id|dle_root|getElementById|varsString||return|new|false|c_id||php|m_id|dle_comments_ajax|value|href|else|engine|dle_ajax|onShow|requestFile|method|element|sendAJAX|comments|form|encodeVAR|name|dle_txt|item|action|post_box_top|true|n_cache|event|Array|checked|GET|dle|frm|c_cache|innerHTML|post_main_obj|style|url|dle_admin|mod|news|news_txt|onCompletion|comm|onclick|do|comm_txt|yes|window|m_ip|target|_blank|allow_br|tinyMCE|edit|editnews|POST|execute|fav_id|skin|dle_skin|rate|finalhtml|display|elmnt|master_box|agree|location|group|index|comm_id|comm_edit_id|s_id|e_id|ip|get|getContent|_get_obj_toppos|scroll|70|dle_wysiwyg|month|year|layer|open|resizable|top|left|scrollbars|sec_code|text|input|d1|none|which|l1|l2|l3|whenCompletedSave|dleeditnews|news_title|title|reason|field|save|whenCompleted|ajax_prep_for_edit|whenCompletedCommentsEdit|ajax_comm_edit|menu_short|menu_full|editcomments|whenCompletedSaveComments|dleeditcomments|registration|calendar|sPicURL|200|go_rate|rating|ratig|post_id|mail|qname|getSelection|selection|quote|DoDiv|null|all|layers|visibility|elements|confirm|dle_del_agree|dle_emo|DlePageCompleted|content|info|formname|selField|menu_profile|pm|doaction|newpm|user|menu_send|editusers|edituser|User|toolbar|status|menubar|width|540|height|500|menu_uedit|news_url|dle_news_delete|IPMenu|http|www|nic|ru|whois|iptools|blockip|ajax_cancel_for_edit|ajax_save_for_edit|allow_br_|quick_wysiwyg|MenuCommBuild|comm_edit|ajax_cancel_comm_edit|ajax_save_comm_edit|doFavorites|favorites|fav|CheckLogin|result|doCalendar|ShowBild|modules|imagepreview|image|HEIGHT|WIDTH|doRate|dleRate|mode|short|doAddComments|editor_mode|wysiwyg|alert|dle_req_field|addcomments|dle_copy_quote|createRange|dle_ins|no|br|execInstanceCommand|mceInsertContent|ShowOrHide|show|ckeck_uncheck_all|pmlist|for|length|type|checkbox|confirmDelete|dle_smiley|doInsert|hidden|ie_range_cache|hideBusyLayer|DlePage|showBusyLayer|pages|setNewField|fombj|UserMenu|lastcomments|userid|menu_fcomments|UserNewsMenu|menu_fnews|username|deletenews|hash|dle_login_hash|MenuNewsBuild|allow_dle_delete_news|dle_del_news'.split('|'),0,{}))
var menuwidth='165px';var disappeardelay=1000;var hidemenu_onclick="yes";var ie4=document.all;var ns6=document.getElementById&&!document.all;if(ie4||ns6)document.write('<div id="dropmenudiv" style="visibility:hidden;position:absolute;z-index:100;width:'+menuwidth+';" onMouseover="clearhidemenu()" onMouseout="dynamichide(event)"></div>');function getposOffset(what,offsettype){var totaloffset=(offsettype=="left")?what.offsetLeft:what.offsetTop;var parentEl=what.offsetParent;while(parentEl!=null){totaloffset=(offsettype=="left")?totaloffset+parentEl.offsetLeft:totaloffset+parentEl.offsetTop;parentEl=parentEl.offsetParent}return totaloffset};function showhide(obj,e,visible,hidden,menuwidth){if(ie4||ns6)dropmenuobj.style.left=dropmenuobj.style.top=-500;if(menuwidth!=""){dropmenuobj.widthobj=dropmenuobj.style;dropmenuobj.widthobj.width=menuwidth}if(e.type=="click"&&obj.visibility==hidden||e.type=="mouseover")obj.visibility=visible;else if(e.type=="click")obj.visibility=hidden}function iecompattest(){return(document.compatMode&&document.compatMode!="BackCompat")?document.documentElement:document.body};function clearbrowseredge(obj,whichedge){var edgeoffset=0;if(whichedge=="rightedge"){var windowedge=ie4&&!window.opera?iecompattest().scrollLeft+iecompattest().clientWidth-15:window.pageXOffset+window.innerWidth-15;dropmenuobj.contentmeasure=dropmenuobj.offsetWidth;if(windowedge-dropmenuobj.x<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.contentmeasure-obj.offsetWidth}else{var topedge=ie4&&!window.opera?iecompattest().scrollTop:window.pageYOffset;var windowedge=ie4&&!window.opera?iecompattest().scrollTop+iecompattest().clientHeight-15:window.pageYOffset+window.innerHeight-18;dropmenuobj.contentmeasure=dropmenuobj.offsetHeight;if(windowedge-dropmenuobj.y<dropmenuobj.contentmeasure){edgeoffset=dropmenuobj.contentmeasure+obj.offsetHeight;if((dropmenuobj.y-topedge)<dropmenuobj.contentmeasure)edgeoffset=dropmenuobj.y+obj.offsetHeight-topedge}}return edgeoffset};function populatemenu(what){if(ie4||ns6)dropmenuobj.innerHTML=what.join("")};function dropdownmenu(obj,e,menucontents,menuwidth){if(window.event)event.cancelBubble=true;else if(e.stopPropagation)e.stopPropagation();clearhidemenu();dropmenuobj=document.getElementById?document.getElementById("dropmenudiv"):dropmenudiv;populatemenu(menucontents);if(ie4||ns6){showhide(dropmenuobj.style,e,"visible","hidden",menuwidth);dropmenuobj.x=getposOffset(obj,"left");dropmenuobj.y=getposOffset(obj,"top");dropmenuobj.style.left=dropmenuobj.x-clearbrowseredge(obj,"rightedge")+"px";dropmenuobj.style.top=dropmenuobj.y-clearbrowseredge(obj,"bottomedge")+obj.offsetHeight+"px"}return clickreturnvalue()};function clickreturnvalue(){if(ie4||ns6)return false;else return true};function contains_ns6(a,b){while(b.parentNode)if((b=b.parentNode)==a)return true;return false};function dynamichide(e){if(ie4&&!dropmenuobj.contains(e.toElement))delayhidemenu();else if(ns6&&e.currentTarget!=e.relatedTarget&&!contains_ns6(e.currentTarget,e.relatedTarget))delayhidemenu()};function hidemenu(e){if(typeof dropmenuobj!="undefined"){if(ie4||ns6)dropmenuobj.style.visibility="hidden"}};function delayhidemenu(){if(ie4||ns6)delayhide=setTimeout("hidemenu()",disappeardelay)};function clearhidemenu(){if(typeof delayhide!="undefined")clearTimeout(delayhide)};if(hidemenu_onclick=="yes")document.onclick=hidemenu;
