var T_server=document.location.host.toLowerCase().replace("www.",""),h="",x_2="x2."+T_server,P_serv="http://p."+T_server;function txt22(a,c){var b=document.body.style,d="",e="",f="";if(c)d=e=f="";else{if(!a.onmouseout)a.onmouseout=function(){txt22(a,1)};d="#ffffff";f="#000000";e="url()"}b.color=f;b.backgroundImage=e;b.backgroundColor=d}var kXHR_instances=0,kXHR_objs=[];
YHttpRequest=function(){this.onreadystatechange=function(){return false};this.open=function(a,c){this.i=++kXHR_instances;this.url=c;document.body.appendChild(document.createElement('<iframe id="kXHR_iframe_'+this.i+'" style="display:none" src="/"></iframe>'))};this.send=function(){document.getElementById("kXHR_iframe_"+this.i).src=this.url;kXHR_objs[this.i]=this;setTimeout("YHttpRequest_checkState("+this.i+",2)",2)};return true};
YHttpRequest_checkState=function(a,c){var b=document.getElementById("kXHR_iframe_"+a);if(b.readyState=="complete"){kXHR_objs[a].responseText=document.frames["kXHR_iframe_"+a].document.body.innerHTML;kXHR_objs[a].readyState=4;kXHR_objs[a].status=200;kXHR_objs[a].onreadystatechange();b.parentNode.removeChild(b)}else{c*=1.5;setTimeout("YHttpRequest_checkState("+a+","+c+")",c)}};var unq_cnt=0,ar_axIDz=[],IDn_ax=0;
function SxRq(a,c,b,d){this.js=0;if(a.charAt(0)=="#"){this.js=1;a=a.substr(1)}this.u=a;this.f=c;this.p=b;this.x=null;this.n=IDn_ax;this.xml=d;ar_axIDz[IDn_ax++]=this;this.didz=SxRq.rq(this.n)}SxRq.ff=function(a){if((a=ar_axIDz[a])&&a.f&&(a.x.readyState==4||a.x.readyState=="complete"||a.js&&a.x.readyState!="loading")){if(a.js)return a.f(a.p);a.x.status==200?a.f(a.xml?a.x.responseXML:a.x.responseText,a.p):a.f(null,0)}};var uni_cnt=(new Date).getTime();
SxRq.rq=function(a){var c=navigator.userAgent.toLowerCase().indexOf("msie 5")!=-1,b=ar_axIDz[a];b.fff=new Function("SxRq.ff("+a+");");if(b.js){b.x=document.createElement("script");b.x.src=b.u;if(document.all)b.x.onreadystatechange=b.fff;else b.x.onload=b.x.onerror=b.fff;document.getElementsByTagName("head")[0].appendChild(b.x);return true}if(window.XMLHttpRequest){b.x=new XMLHttpRequest;if(document.all)b.x.onreadystatechange=b.fff;else{b.x.onload=b.fff;b.x.onerror=b.fff}}else if(window.ActiveXObject)try{b.x=
new ActiveXObject(c?"Microsoft.XMLHTTP":"Msxml2.XMLHTTP");b.x.onreadystatechange=b.fff}catch(d){try{b.x=new YHttpRequest;if(document.all)b.x.onreadystatechange=b.fff;else{b.x.onload=b.fff;b.x.onerror=b.fff}}catch(e){return false}}a=b.u;++unq_cnt;a+=a.indexOf("?")<0?"?":"&";try{b.x.open("GET",a+"rnd="+uni_cnt,true);b.x.send(null)}catch(f){return false}return true};function $(a){return document.getElementById(a)}function sxReq(a,c,b){return(new SxRq(a,c,b,arguments.length>3?1:0)).didz}
function sxInner(a,c){var b=$(c);if(b)b.innerHTML=a}function dispErr0(){}function dispErr(a,c){try{sxReq("/kphp/logerr.php?n="+c+"&da="+T_usr+"&tx="+escape(a))}catch(b){}try{var d=document.createElement("img");d.src="/kphp/logerr.php?im=1&n="+c+"&da="+T_usr+"&tx="+escape(a);document.body.appendChild(d)}catch(e){}}function shuffleA(a){for(var c,b,d=a.length;d;c=parseInt(Math.random()*d),b=a[--d],a[d]=a[c],a[c]=b);return a}function fx(a,c){var b;for(b in a)if(b%2&&a[b]==c)return a[b-1];return""}
function loop2(a,c,b,d,e){var f="checked",g;if(d=="select"){h+='<select name="'+b+'">';for(g in a)if(g%2){sel=a[g]+" ";if(c==a[g])sel+="selected";v=a[g-1];if(g==1)v=A_v[V_v];h+="<option value="+sel+">"+v;(g*2+2)%e||(h+="<br>")}h+="</select>"}else if(d=="radio")for(g in a){if(g%2){sel=a[g]+" ";if(c==a[g])sel+=f;h+="<input type="+d+" name="+b+" value="+sel+">"+a[g-1]}}else for(g in a)if(g%2){sel=a[g]+" ";if(1<<a[g]&c)sel+=f;h+="<input type="+d+" name="+b+" value="+sel+">"+a[g-1];(g*2+2)%e||(h+="<br>")}}
function dp(a,c,b){h+="<b class=td1>"+b+":</b>&nbsp;"+fx(a,c)+"<br>"}function xinf(a){var c=a.parentNode,b="";if(c){c=c.id;if(c=="film")b="imdb.com/find?q=";else if(c=="bok"||c=="gla")b="amazon.com/gp/search/?search-alias=aps&keywords=";else if(c=="tv")b="google.com/search?q=";if(b)document.location.href="http://www."+b+escape('"'+a.previousSibling.previousSibling.innerHTML+'"')}}function xk(a){document.location.href="/cgi-bin/sea?DB=f-1&P=%22"+escape(a.innerHTML+'"');return false}
function xp(a,c,b,d){var e,f=" ";h+="<b class=td1 id="+c+">"+a+":</b>&nbsp;<span id="+c+">";for(e in b){h+=f+'<a href="#" onclick="return xk(this)">'+b[e]+"</a>"+(d?' <img src=/ico/inf.gif onclick="xinf(this)" class=ch>':"");if(e===0)f=", "}h+="</span><br>"}
function loops(a,c,b,d){var e;h+='<select name="'+b+'">';if(d==1)for(e in a){m=e;v=e===0?A_v[V_v]:a[e];sel=m+" ";if(c==e)sel+="selected";h+="<option value="+sel+">"+v}else if(d==2)for(e in a){m=e;++m;v=a[e];sel=m+" ";if(c==e)sel+="selected";h+="<option value="+sel+">"+v}else for(e in a)if(e>0){m=e;v=a[e];sel=m-1+" ";if(c==e-1)sel+="selected";h+="<option value="+sel+">"+v}h+="</select>"}
function loopm(a,c,b,d,e){var f;h+="<select "+d+' name="'+b+'">';for(f in a)if(f%2||f===0&&e){m=a[f];e&&++m;sel=f===0?"0 ":m+" ";if(e===0&&c==m||e&&((c&1)===0&&1<<m&c||c&1&&f===0))sel+="selected";v=f>0?a[f-1]:A_v[V_v];h+="<option value="+sel+">"+v}h+="</select>"}
function loop(a,c,b,d){var e="checked",f;if(d=="select"){h+='<select name="'+b+'">';for(f in a)if(f%2){sel=a[f]+" ";if(c==a[f])sel+="selected";v=a[f-1];if(f==1)v=A_v[V_v];h+="<option value="+sel+">"+v}h+="</select>"}else if(d=="radio")for(f in a){if(f%2){sel=a[f]+" ";if(c==a[f])sel+=e;h+="<input type="+d+" name="+b+" value="+sel+">"+a[f-1]}}else for(f in a)if(f%2){sel=a[f]+" ";if(1<<a[f]&c)sel+=e;h+="<input type="+d+" name="+b+" value="+sel+">"+a[f-1]}}
function list(a,c,b){var d="",e="",f;if(c){d+="<b class=td1>"+b+":</b>&nbsp;";for(f in a)if(f%2&&1<<a[f]&c){d+=e+a[f-1];e=", "}d+="<br>";h+=d}}
function doop(){var a=["OK","NEWMAIL","DENIED","REVIEW"],c;for(c in a)if(1<<c+1&V_appr)h+="<b>_"+a[c]+"_</b><br>";h+="<br>";h+="<a href="+P_serv+"/C/Cs?"+T_usr+">delete</a>&nbsp;&nbsp;<br>";h+="<a href="+P_serv+"/C/Cd?"+T_usr+">deny</a>&nbsp;&nbsp;<br><br>";h+="<a href="+P_serv+"/C/Ca?"+T_usr+">approve</a>&nbsp;&nbsp;<br><br>";h+="<a href="+P_serv+"/C/CaX?"+T_usr+">approveXXX</a>&nbsp;&nbsp;<br>";h+="<a href="+P_serv+"/C/Cp?"+T_usr+">remove hp</a>&nbsp;&nbsp;<br>";h+="<a href="+P_serv+"/C/CP0?"+T_usr+
">remove pic</a>&nbsp;&nbsp;<br>";h+="<a href="+P_serv+"/C/CP1?"+T_usr+">center pic</a>&nbsp;&nbsp;<br>";h+="<br>"}
function pcha(){ch=window.open("","","resizable=no,menubar=no,location=no,toolbar=no,status=no,scrollbars=no,directories=no,width=175,height=224");ch.document.writeln('<html><body bgcolor=#ff00ff><FORM NAME="HearMeVCC"><INPUT type=hidden name=Username value=""><INPUT type=hidden name=Channel  value=""><INPUT type=hidden name=Talklimit value="29000"><SCRIPT LANGUAGE="JavaScript" SRC="/vc.js"><\/SCRIPT><script language=javascript>document.HearMeVCC.Username.value="'+T_me+'"; document.HearMeVCC.Channel.value = "http://www.kupid.com/u/'+
T_usr+'";<\/script>')}function clsign(){ha=window.open("","","resizable=no,menubar=no,location=no,toolbar=no,status=no,scrollbars=no,directories=no,width=310,height=190");ha.document.writeln("<html><head><TITLE>"+T_usr+" ;)</title></head><body bgcolor=#0000d0><script language=javascript>var s1="+V_sign+";var s2="+V_ms+';<\/script><SCRIPT language="JavaScript" src="/js/g-lv3.js"><\/SCRIPT>')}var haveFlash=0,flashVer=0;
function ckFlash(){if(navigator.plugins){if(x=navigator.plugins["Shockwave Flash"]){haveFlash=2;if(x.description){y=x.description;flashVer=y.charAt(y.indexOf(".")-1)}}else haveFlash=1;if(navigator.plugins["Shockwave Flash 2.0"])flashVer=haveFlash=2}else if(navigator.mimeTypes&&navigator.mimeTypes.length)haveFlash=(x=navigator.mimeTypes["application/x-shockwave-flash"])&&x.enabledPlugin?2:1;return flashVer}var ns6=!document.all&&document.getElementById,ie4=document.all,ns4=document.layers;
function getEL(a,c){var b;b=document.getElementById(a);return c&&b?b.style:b}var mo_X=[],_ctab="",_clnk;function switchTab(a){if(!_ctab){_ctab=getEL("id100",0);_clnk=getEL("l_100",0)}_ctab.style.visibility="hidden";_ctab.style.display="none";_clnk.className="btn9";var c=getEL("id"+a,0);c.style.visibility="visible";c.style.display="inline";_ctab=c;ll=getEL("l_"+a,0);mo_X[a]=ll.className="disabled";_ctab=c;_clnk=ll}function heh11(a){alert("ppppppppp"+a)}var xA,xB,xC;
function sp_parseAns(a){a=a.split("&");var c,b=a.length,d,e;xA=[];xB=[];xC=[];for(d=0;d<50;d++){xA[d]=xB[d]=0;xC[d]=""}for(d=0;d<b;d++){c=a[d].split("=");if(c[0]){e=parseInt(c[0].substr(1));if(c[0].charAt(0)=="t"){xA[e]|=2;xC[e]=unescape(c[1])}else{xA[e]|=1;xB[e]=c[1]}}}}
function sp_listAns(){var a,c,b,d,e="",f="",g=0,j;a=0;for(c=speA.length;a<c;a++){t=speA[a][1];b=speA[a].length;f='<b class="td1">'+t+"</b> ";j=xB[a];g=0;for(d=2;d<b;d++)if(1<<d-1&j){e+=g?" | ":f;g=1;e+=speA[a][d]}if(1&j){e+=g?" | ":f;g=1;e+=xC[a]}if(g)e+="<br>"}return e}function sp_Longie(a,c){if(a.charAt(0)!="#")return sxInner(a,c);sp_parseAns(a.substr(1));document.getElementById(c).innerHTML=sp_listAns()}function js_loaded(a){a==1&&sxReq("/kphp/spe1.php?i="+T_uid,sp_Longie,"id102")}
function lol1(a,c){if(c==102&&a.getAttribute("had")!=1){a.setAttribute("had",1);sxReq("#/js/0spe1_.js",js_loaded,1)}switchTab(c)}function mo1(a,c,b){if(b){var d=a.getAttribute("url");if(d&&a.getAttribute("durl")!=1){a.setAttribute("durl",1);sxReq(d,sxInner,"id"+c)}}if(b){mo_X[c]=a.className;if(!mo_X[c]||mo_X[c].indexOf("1")<0)a.className=mo_X[c]+"1";lol1(a,c)}else a.className=mo_X[c]}var nWin=[];
function opW(a,c,b){if(c==="")c="width=420,height=330,scrollbars=yes";else c+="scrollbars=no";c=c+",status=no,toolbar=no,menubar=no,resizable=yes,screenX=50,screenY=50";if(typeof nWin[b]=="undefined"||!nWin[b]||nWin[b].closed)nWin[b]=window.open(a,"",c);else{nWin[b].focus();nWin[b].reload()}}function opWf(){opW("/C/50?"+T_uid,"","/p:"+T_uid)}var _oc="";function oc(a){a="http://"+x_2+"/grp/club.php?cid="+a;if(!_oc||_oc.closed)window.open(a,"");else _oc.location=a}
function frt(a){var c="",b,d,e=["","zanesljiv/a","faca","sexy"];for(d=1;d<4;d++)if((b=a&255<<(d-1)*8)>0)c+="&nbsp;&nbsp; <img src=/kphp/img/f"+d+"1.gif width=15 height=15 title="+e[d]+"> "+(b>>(d-1)*8)/10;return c+"<br>"}
function gswf(a,c,b){return'<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" '+c+'><param name="movie" value="'+a+'"><PARAM NAME=quality VALUE=high><PARAM NAME=FlashVars VALUE="'+b+'"><embed src="'+a+'" wmode="Window" quality="high" '+c+' FlashVars="'+b+'" type="application/x-shockwave-flash" /></object>'}var rplc_ii=0;
function rplc(a,c){var b=0;++rplc_ii;c=c.replace("rplcid","rplcid="+rplc_ii);if(a.outerHTML&&a.insertAdjacentHTML)if(!b)if(a.insertAdjacentHTML){b=document.createElement("div");b.innerHTML=c;b.id="rplc_ii"+rplc_ii;a.parentNode.insertBefore(b,a);b=1}if(!b)try{var d=a.ownerDocument.createRange();d.setStartBefore(a);a.parentNode.insertBefore(d.createContextualFragment(c),a);a.style.display="none"}catch(e){}}function parseInt2(a){a=parseInt(a);return isNaN(a)?0:a}
function gMusic(){var a,c,b=document.getElementsByTagName("music"),d,e;a=b.length;if(a>3)a=3;for(c=a-1;c>=0;c--){var f,g,j,k;d=b[c].getAttribute("src");g=parseInt2(b[c].getAttribute("width"));f=parseInt2(b[c].getAttribute("height"));parseInt2(b[c].getAttribute("type"));j=b[c].getAttribute("flashvars");k=b[c].getAttribute("stylex");if(d.indexOf("xspf")>-1||d.indexOf("m3u")>-1){a="file=";if(!f){f=100;if(j&&j!="undefined"&&j.indexOf("showdisplay")>-1)f=350}g||(g=280);if(d.charAt(0)!="/"&&d.indexOf("://")<
0)d="/@"+T_usr+"/"+d}else a="song_url=";g||(g="300");f||(f=15);e="";if(g>10&&g<1E3)e+=" width="+g+" ";if(f>10&&f<1500)e+=" height="+f+" ";e+='bgcolor="e6e6e6" id="music'+(c+1)+'" ';if(k)e+=' style="'+k.replace('"',"").replace("<","").replace(">","").replace("\\","")+'"';e+=" enablejs=1 allowscriptaccess=always ";if(j)d+="&"+j;d+="&width="+g+"&height="+f;rplc(b[c],gswf("/tmp/play5.swf?3",e,a+d.replace('"',"").replace("<","").replace(">","").replace("\\","")))}}
function sw_beware(){return' allowScriptAccess="never" swLiveConnect="false" allownetworking="internal" '}function fx_ytb2(a,c,b,d){b=" width="+parseInt2(b)+" height="+parseInt2(d);b+=sw_beware();c=gswf("http://www.youtube.com/v/"+c+"&amp;hl=en&amp;fs=1&amp;autoplay=1",b,"");b=a.getAttribute("rplcid");rplc(a,c);if(typeof b!="undefined"){c=document.getElementById("rplc_ii"+b);if(typeof c!="undefined")a.style.display="none"}}
function gYTB(){var a,c=document.getElementsByTagName("youtube"),b,d;a=c.length;if(a>50)a=50;for(a=a-1;a>=0;a--){var e,f,g,j,k;b=c[a].getAttribute("src");f=parseInt2(c[a].getAttribute("width"));e=parseInt2(c[a].getAttribute("height"));f||(f="300");e||(e=300);g=Math.round((f-36)/2);j=Math.round((e-72)/2);k=b;if((d=k.indexOf("?"))>-1)k=k.substr(0,d);b="<div style='position:relative;width:"+f+"px;height:"+e+"px;cursor:pointer;cursor:hand' onclick='fx_ytb2(this,\""+b+'",'+f+","+e+")' rplcid >";b+="<div style='position:absolute;top:"+
j+"px;left:"+g+"px;z-index:2'>";b+="<img src=/ico/p7.gif width=36 height=36></div>";b+="<img src=http://i3.ytimg.com/vi/"+k+"/default.jpg width="+f+" height="+e+" style='position:absolute;z-index:1'></div>";rplc(c[a],b)}}function sxInnerBR(a,c){var b=$(c);if(b)b.innerHTML="<br>"+a}
function sxGU(a,c){var b=a.getAttribute("src");if(a.getAttribute("did")!=1){a.setAttribute("did",1);sxReq("/kphp/proxy.php?t=1&id=0&u="+b+"&r="+escape(document.location),sxInnerBR,c)}else if(b=$(c))b.style.display=b.style.display=="none"?"inline":"none"}function aTab(a,c,b,d){h+="<span class="+c+' OnClick="lol1(this,'+a+')" OnMouseOver="mo1(this,'+a+',1)" OnMouseOut="mo1(this,'+a+',0)" id=l_'+a+" "+d+">&nbsp;"+b+"&nbsp;</span> "}
function set_tabs(){aTab(100,"disabled","O meni","");typeof V_didw!="undefined"&&aTab(101,"btn9","Zeljena oseba","");phas&256&&aTab(102,"btn9","Dodatno","");phas&1537&&aTab(1500,"btn9","Delo",'url="/kphp/job.php?d='+phas+"&ui="+T_uid+'"');h+="<span id=_otherTabs></span>"}function fix_tabs(){var a=h;h="";set_tabs();$("monav").innerHTML=h;h=a}
function gFrame(){var a,c=document.getElementsByTagName("kdata"),b,d,e="",f="",g="",j="",k,l,o=-1,r=109,n;if(a=c.length){if(a>8)a=8;for(a=a-1;a>=0;a--)if(c[a]){d=c[a].getAttribute("src");if(!(!d||d.charAt(0)!="/")){k=c[a].getAttribute("type");b=c[a].getAttribute("text");l="_kframe";if(typeof clubID!="undefined")k="inline";if(k=="tab")k=1;else if(k=="top")k=2;else if(k=="bottom")k=3;else if(k=="inline")k=b?4:5;if(k!=1){var p="";n=++o;if(k==4)p="<a href='#' onclick='sxGU(this,"+('"'+l+n+'"')+")' src="+
d+">"+b+"</a><span id="+l+n+"></span>";else p+="<div id="+l+n+"></div>";if(!k||k==4||k==5)rplc(c[a],p);else if(k==2)g+=p;else j+=p}else{l="_ktab";n=++r;e+="<span class=btn9 OnClick='lol1(this,"+n+")' OnMouseOver='mo1(this,"+n+",1)' OnMouseOut='mo1(this,"+n+",0)' id=l_"+n+">&nbsp;"+b+"&nbsp;</span>";f+="<span id=id"+n+" style='visibility: hidden; display: none'><div id=_ktab"+n+" style='display:inline'></div></span>"}k!=4&&sxReq("/kphp/proxy.php?t=1&id="+a+"&u="+d+"&r="+escape(document.location),sxInner,
l+n)}}if(e){c=$("_otherTabs");if(!c){fix_tabs();c=$("_otherTabs")}c.innerHTML=e;document.getElementById("_otherTabsD").innerHTML=f}if(g)document.getElementById("_kdataS").innerHTML=g;if(j)document.getElementById("_kdataE").innerHTML=j}}function poll_getID(a){var c=0;a=a;do{a=a.parentNode;if(a.getAttribute("ispoll")){c=a;break}}while(1);return c}function pollgetElementWidth(a){return xPos=a.offsetWidth}
function pollmov(a,c){alert("??");var b=poll_getID(a),d="";if(b){d=b.id;b=pollgetElementWidth(a.parentNode);a.style.marginRight=0;a.style.width=b+"px";a.className=c?d+"_mov":d+"_tx"}}function pollclick(a){a.getElementsByTagName("input")[0].checked=true}
function gPList(){var a,c,b=document.getElementsByTagName("piclist"),d,e,f=[];c=b.length;if(c>3)c=3;if(typeof KPicList!="undefined")for(a=0;a<c;a++){var g,j;d=b[a].getAttribute("src");if(!(!d||d.charAt(0)!="/")){j=parseInt2(b[a].getAttribute("width"));g=parseInt2(b[a].getAttribute("height"));var k="picList__"+a;b[a].setAttribute("id",k);b[a].setAttribute("height",0);b[a].style.visibility="hidden";b[a].style.display="none";g||(g=600);e="";if(j>10&&j<=1E3)e+=" width="+j+" ";if(g>10&&g<=1500)e+=" height="+
g+" ";f[a]=new KPicList(k,d,e)}}}function gPolls(){var a,c,b=document.getElementsByTagName("poll");c=b.length;if(c>3)c=3;for(a=0;a<c;a++){var d;if(d=parseInt2(b[a].getAttribute("pid"))){var e="poll__"+a;b[a].setAttribute("id",e);b[a].setAttribute("height",0);b[a].style.visibility="hidden";b[a].style.display="none";rplc(b[a],"<div id="+e+" ></div>");sxReq("/tmp/edit/spoll.php?pid="+d,sxInner,e)}}}function getElementWidth(a){if(ns4&&a&&a.clip)return a.clip.width;else return xPos=a.offsetWidth}
function poll_getID(a){var c=0;a=a;do{a=a.parentNode;if(a.getAttribute("ispoll")){c=a;break}}while(1);return c}
function poll_ret(a,c){if(c){var b=document.getElementById(c);b.getElementsByTagName("input");var d=a.split("&"),e,f,g=0,j,k=0;for(e=0;e<d.length;e++){f=d[e].split("=");if(f[0]=="v")k=parseInt(f[1]);else{j=parseInt(f[1]);if(isNaN(j))j=0;g+=j}}for(e=0;e<d.length;e++){f=d[e].split("=");j=parseInt(f[1]);if(isNaN(j))j=0;if(f[0]!="v"){ipct=g?parseInt(j*100/g):0;j=g?parseInt(j*200/g):0;if(f=document.getElementById(b.id+"_res_"+f[0])){f.style.width=12+j+"px";if(ipct)ipct+="%";f.innerHTML=ipct}}}if(f=document.getElementById(b.id+
"_total"))f.innerHTML="votes "+k;poll_show(b.id,0)}}function poll_sub(a){var c=poll_getID(a),b="&pid="+c.getAttribute("ispoll"),d=c.getElementsByTagName("input");a.disabled=1;for(i=0;i<d.length;i++){if(tp=d[i].type)tp=tp.toLowerCase();if(d[i].checked&&d[i].name){a=d[i].name.replace(/[^a-z0-9_\[\]]/ig,"");var e=d[i].value.replace(/[^a-z0-9_\[\]]/ig,"");b+="&"+a+"="+e}}b&&sxReq("/tmp/edit/spoll.php?sav=1"+b,poll_ret,c.id);return false}
function pollmov(a,c){var b=poll_getID(a),d="";if(!(!b||b.getAttribute("dmov")!=0)){d=b.id;b=getElementWidth(a.parentNode);a.style.marginRight=0;a.style.width=b+"px";a.className=c?d+"_mov":d+"_tx"}}function pollclick(a){a.getElementsByTagName("input")[0].checked=true}
function poll_show(a,c){var b=document.getElementById(a),d=b.getElementsByTagName("div");b.setAttribute("dmov",c?0:1);for(i=0;i<d.length;i++)if(d[i].getAttribute("pstatb"))d[i].style.display=c?"none":"block";d=b.getElementsByTagName("input");for(i=0;i<d.length;i++){if(b=d[i].type)b=b.toLowerCase();if(b=="checkbox"||b=="radio"){d[i].style.display=c?"inline":"none";d[i].parentNode.style.paddingLeft=c?"0":"16px"}}document.getElementById(a+"_sub").style.display=c?"inline":"none";document.getElementById(a+
"_total").style.display=c?"none":"inline"}
function gSlide(){var a,c,b=document.getElementsByTagName("slideshow"),d,e,f=[];c=b.length;if(c>3)c=3;if(typeof SShow!="undefined")for(a=0;a<c;a++){var g,j,k;d=b[a].getAttribute("src");if(!(!d||d.charAt(0)!="/")){j=parseInt2(b[a].getAttribute("width"));g=parseInt2(b[a].getAttribute("height"));k=b[a].getAttribute("autostart");k=k=="0"||k&&k!="undefined"&&k.toLowerCase()=="false"?0:1;var l="slide__"+a;b[a].setAttribute("id",l);b[a].setAttribute("height",0);b[a].style.visibility="hidden";b[a].style.display=
"none";g||(g=600);e="";if(j>10&&j<=1E3)e+=" width="+j+" ";if(g>10&&g<=1500)e+=" height="+g+" ";f[a]=new SShow(k,l,d,e)}}}
function gRSS(){var a,c=document.getElementsByTagName("rss"),b,d,e=[];a=c.length;if(a>3)a=3;if(typeof rsstc!="undefined")for(a=a-1;a>=0;a--){var f,g,j,k,l;if(b=c[a].getAttribute("src")){b=parseInt2(b);g=parseInt2(c[a].getAttribute("width"));f=parseInt2(c[a].getAttribute("height"));j=parseInt2(c[a].getAttribute("type"));k=parseInt2(c[a].getAttribute("limit"));l=parseInt2(c[a].getAttribute("time"));if(l<1)l=3500;else l*=1E3;var o="rss__"+a;d="";if(g>10&&g<1E3)d+=" width="+g+" ";if(f>10&&f<1500)d+=" height="+
f+" ";rplc(c[a],"<div id="+o+" "+d+' class="cticker"></div>');e[a]=new rsstc(document.getElementById(o),"/tmp/edit/rss/rssticker2/lastrss/rss.php?u="+T_usr+"&i="+b+"&lm="+k,"cticker",l,j)}}}
function gBlog(){var a,c=document.getElementsByTagName("blog"),b;a=c.length;if(a>1)a=1;for(a=a-1;a>=0;a--){var d,e,f,g;if(b=c[a].getAttribute("src")){parseInt2(b);e=parseInt2(c[a].getAttribute("width"));d=parseInt2(c[a].getAttribute("height"));f=parseInt2(c[a].getAttribute("chars"));g=parseInt2(c[a].getAttribute("get"));var j="blog__"+a;b="";if(e>10&&e<1E3)b+=" width="+e+" ";if(d>10&&d<1500)b+=" height="+d+" ";rplc(c[a],"<div id="+j+" "+b+"></div>");sxReq("/tmp/blogs/php/rs.php?id="+T_uid+"&x1="+
f+"&x2="+g,sxInner,j)}}}function tQzGm(a){return'<table style="margin-left:20px;" border=0 cellpadding=0 cellspacing=0><tr valign=top><td align=left w1idth="33%">'+a+'</td><td width="33%"><b>'+T_usr+'</b></td><td width="33%"><b>Vas rezultat</b></td></tr>'}
function g_qm(a,c){var b="",d=0,e;if(c)Vqd=c;e=Vqd.length;for(b+=tQzGm("Kviz");d<e;d+=4)b+='<tr><td><a href="/kvizi/?ttl=2&gid='+Vqd[d]+'">'+Vqd[d+1]+"</a></td><td>"+Vqd[d+2]+"</td><td>"+Vqd[d+3]+"</td></tr>";b+="</table>";if(a)a.innerHTML=b;else h+=b}
function g_gm(a,c){var b=[],d="";b[13]="Memory2";b[40]="Sudoku";b[3]="Letters";b[4]="Farming Skills";b[5]="BDSM";b[7]="Potency test";b[8]="Hunting..";b[9]="Condom game";b[10]="Mini Golf";b[12]="Strip Down";b[14]="Snake";b[15]="Popups";b[19]="Billiards";b[16]="Beanhunter";b[21]="Curveball";b[20]="Emigration";b[18]="Runner";b[27]="Tetris";b[32]="Tetris 2";b[30]="Twiddle";b[31]="Dozen";b[23]="Hen hao chi";b[35]="Squares";b[24]="Froggiez";b[36]="Packing boxes";var e=0,f;if(c)Vgd=c;f=Vgd.length;for(d+=
tQzGm("Igra");e<f;e+=3){d+='<tr><td><a href="/puzz/g.php?id='+Vgd[e]+'">'+b[Vgd[e]]+"</a></td><td>"+Vgd[e+1]+"</td><td>";if(Vgd[e+2]!=-1)d+=Vgd[e+2];d+="</td></tr>"}d+="</table>";if(a)a.innerHTML=d;else h+=d}function caAx(a,c){if(c>101&&c<111){var b=document.getElementById("g_"+c);if(a){eval(a);c==102&&g_gm(b,Vgd);c==103&&g_qm(b,Vqd)}else b.innerHTML="none found<br>"}}function goAx(a,c){sxReq(a,caAx,c)}
function g_xm(a){var c=document.getElementById("g_"+a);c.style.display=c.style.display=="none"?"inline":"none";if(c.innerHTML.length<1){c.innerHTML="wait..<br>";goAx("/C/"+a+"?"+T_uid+".",a)}}var c8dwmv=0;
function c8wmv(a){var c="div";if(!c8dwmv){c8dwmv=1;a||(c="iframe");document.body.innerHTML+='<div id="dwindow" style="position:absolute;background-color:#EBEBEB;cursor:hand;cursor:pointer;left:0px;top:0px;display:none" onMousedown="initializedrag(event)" onMouseup="stopdrag()" onSelectStart="return false"><div align="right" style="background-color:navy"><img src="/forum/close.gif" onClick="closeit()"></div><div id="dwindowcontent" style="height:100%"><center><'+c+' frameborder=0 width="100%" height="100%" id="cframe" style="padding-top:5px"></'+
c+"></center></div></div>"}}function wmvCode(a,c){return'<object classid="CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95" type="application/x-oleobject"><param name="FileName" value="'+a+'"><param width=320><param height='+c+'><embed type="application/x-mplayer2" src="'+a+'" width=320 height='+c+"></embed></object>"}function p_age(a){document.location="/kphp/dt_info.php?v="+escape(a)}
function showVid(){var a="http://"+x_2+"/@"+T_usr+"/,",c=0;a+="2.";if(vfmt==1){c8wmv(1);c=38;a=wmvCode(a+"asf",240+c)}else{c8wmv(0);a="/f/vidPlay.php?nd=1&t="+vfmt+"&u="+T_usr;c-=25}swWnd(a,335,275+c)}function maps_city(a){a=a.href;var c=a.indexOf("&near=")+6,b=a.indexOf(","),d=T_ccity;d.replace("&","").replace("\n","").replace(":","");d=a.substr(0,c)+d+a.substr(b);document.location.href=d;return true}
function shData(a){h+="<div id=monav>";try{if(typeof V_didw!="undefined"||phas&256)set_tabs()}catch(c){dispErr(c,"0")}h+="</div><div id=id100>";try{if(V_fname||V_lname){var b='"'+V_fname+" "+V_lname+'" OR "'+V_lname+" "+V_fname+'"';if(V_lname.indexOf(" ")>-1||V_fname.indexOf(" ")>-1)b=V_fname+" "+V_lname;h+='<b class=td1></b>&nbsp;<a href="http://www.google.com/search?q='+escape(b)+'">'+V_fname+" "+V_lname+"</a><br>"}a||dp(A_am,V_sex,H_sex);var d=A_state[V_state];h+="<b class=td1>"+H_state+":</b>&nbsp;"+
d+"<br>";h+="<b class=td1>"+H_closecity+"/"+H_city+':</b>&nbsp;<a onclick="return maps_city(this)" href="http://maps.google.com/maps?z=9&iwloc=addr&om=1&t=h&near='+T_ccity+","+escape(d)+'">'+T_ccity+'</a>/<a href="http://maps.google.com/maps?z=9&iwloc=addr&om=1&t=h&near='+escape(T_city)+","+escape(d)+'">'+T_city+"</a><br>";h+="<b class=td1>"+H_birth+':</b> <span id=p_age onclick="p_age(this.innerHTML)" class=ch>'+V_birth+T_years+")</span>"}catch(e){dispErr(e,991)}try{h+=a?"<br>":"&nbsp;<a href="+
P_serv+"/C/Y?"+T_usr+">"+T_bbday+"</a><br>";list(A_in,V_in,H_hin);list(A_wt,V_wt,"&nbsp;&nbsp;&nbsp;&nbsp;"+H_z)}catch(f){dispErr(f,992)}try{h+='<span id="_kdataS"></span>';h+="<b class=td1>"+H_sign+":</b> "+fx(A_sign,V_sign);h+=a?"<br>":", "+H_signChi+": "+V_signC+"<br>";h+="&nbsp;&nbsp;&nbsp;&nbsp;<a href=javascript:clsign()>"+H_calcSign+"</a><br>"}catch(g){dispErr(g,993)}try{if(!a){h+="<b class=td1>"+H_H+"/"+H_W+":</b> "+V_H+"/"+V_W+"<br>";dp(A_body,V_body,H_body);h+="<b class=td1>"+H_eyec+"/"+
H_hairc+":</b>&nbsp;"+fx(A_eyec,V_eyec)+"/"+fx(A_hairc,V_hairc)+"<br>"}}catch(j){dispErr(j,994)}try{dp(A_status,V_status,H_status);dp(A_kids,V_kids,H_kids)}catch(k){dispErr(k,995)}try{a||dp(A_mkids,V_mkids,H_mkids);a||(h+="<b class=td1>"+H_drink+"/"+H_smoke+":</b>&nbsp;"+fx(A_drink,V_drink)+"/"+fx(A_smoke,V_smoke)+"<br>")}catch(l){dispErr(l,996)}try{if(a)if(T_prof!=="")h+="<b class=td1>"+H_prof+":</b>&nbsp;"+T_prof+"<br>";else dp(A_pd,V_pd,H_area);else{h+="<b class=td1>"+H_prof+":</b>&nbsp;"+T_prof+
"<br>";dp(A_pd,V_pd,H_area);dp(A_pd1,V_pd1,H_work)}}catch(o){dispErr(o,"100."+a)}try{dp(A_edu,V_edu,H_edu);if(typeof schs!="undefined")h+="<b class=td1>"+H_schs+":</b>&nbsp;"+schs+"<br>";a||dp(A_live,V_live,H_live);dp(A_god,V_god,H_god);dp(A_nat,V_nat,H_nat);typeof zdr!="undefined"&&xp(H_zdr,"zdr",zdr,0);typeof hob!="undefined"&&xp(H_hob,"hob",hob,0);typeof bok!="undefined"&&xp(H_bok,"bok",bok,1);typeof film!="undefined"&&xp(H_film,"film",film,1);typeof tv!="undefined"&&xp(H_tv,"tv",tv,1);typeof gla!=
"undefined"&&xp(H_gla,"gla",gla,1);list(A_lang,V_lang,H_lang);list(A_sport,V_sport,H_sport)}catch(r){dispErr(r,101)}try{list(A_music,V_music,H_music);list(A_hobi,V_hobi,H_hobi);h+='<span id="_kdataE"></span>';if(typeof match!="undefined")h+="<b class=td1>Ujemanje:</b> "+match+"%<br>";if(T_hp){h+="<b class=td1>"+H_hp+":</b>&nbsp;";h+=T_hp.indexOf("a href")>0?T_hp:"<a href="+T_hp+" target=ytz_"+T_hp+">"+T_hp+"</a>";h+="<br>"}if(typeof Vcnt!="undefined")h+="<b class=td1>Obiskov:</b> "+Vcnt+"<br>";if(typeof T_lastvisit!=
"undefined")h+="<b class=td1 onClick=\"location.href='/C/998?"+T_usr+'\'" style="cursor:pointer;cursor:hand">'+H_lastvisit+":</b>&nbsp;"+T_lastvisit+"<br>"}catch(n){dispErr(n,102)}try{if(typeof V_friends!="undefined"){if(typeof sFr!="undefined"){a=["prijatelj prijatelja","prijatelja prijatelja prijatelj"];if(sFr>1&&sFr<=3)h+='<b class=td1>Prijateljstvo:</b>&nbsp;<a href="javascript:opWf()">'+a[sFr-2]+"</a><br>"}if(V_friends){if(V_fRt>-1)h+=frt(V_fRt);h+="<b class=td1><a href=/C/5?"+T_uid+' title="Klik za podrobni seznam">Prijatelji:</a></b> <span id=v_friends></span><br>'}else h+=
"<b class=td1>Prijatelji:</b> "+T_usr+" zal nima prijateljev<br>"}if(typeof ggrps!="undefined")h+="<b class=td1>Groups:</b> "+ggrps+"<br>";if(typeof mqzs!="undefined")h+="<b class=td1>Kvizi:</b> "+mqzs+"<br>";if(V_links)h+="<b class=td1>Cool Sites:</b> "+V_links+"<br>";if(phas&4)h+='<a href="/mensa.php?i='+T_uid+'" target=_new><img src=/pic/msa.gif style="width:84px;height:25px" border=0></a><br>';if(typeof V_kIQ!="undefined")h+="<a href=/puzz/index.php?rankings=1&finduser="+T_usr+"><b class=td1>Contest score: "+
V_kIQ+"&nbsp;</b><img src=/dchat/llove.gif border=0></a><br>";if(phas&64){h+='<b><a href="javascript:g_xm(102)">Igre</a></b><br><span id="g_102"';if(typeof Vgd!="undefined"){h+=">";g_gm(0,0)}else h+=' style="display:none">';h+="</span>"}if(phas&128){h+='<b><a href="javascript:g_xm(103)">Kvizi</a></b><br><span id="g_103"';if(typeof Vqd!="undefined"){h+=">";g_qm(0,0)}else h+=' style="display:none">';h+="</span>"}h+='</div><div id=id101 style="visibility: hidden; display: none">';if(typeof V_didw!="undefined"){if(w_age)h+=
"<b class=td1>"+T_years+":</b> "+w_age+"<br>";if(w_hei)h+="<b class=td1>"+H_H+":</b> "+w_hei+"<br>";w_hairc&&list(A_hairc,w_hairc,H_hairc);w_eyec&&list(A_eyec,w_eyec,H_eyec);w_body&&list(A_body,w_body,H_body);w_lang&&list(A_lang,w_lang,H_lang);w_god&&list(A_god,w_god,H_god);w_nat&&list(A_nat,w_nat,H_nat);w_pd1&&list(A_pd1,w_pd1,H_work);w_edu&&list(A_edu,w_edu,H_edu);w_drink&&list(A_drink,w_drink,H_drink);w_smoke&&list(A_smoke,w_smoke,H_smoke);w_status&&list(A_status,w_status,H_status);w_kids&&list(A_kids,
w_kids,H_kids);w_sign&&list(A_sign,w_sign,H_sign)}}catch(p){dispErr(p,6)}try{h+='</div><div id=id102 style="visibility: hidden; display: none">wait</div><div id=id1500 style="visibility: hidden; display: none">wait</div><span id=_otherTabsD></span>';h+="</td><td valign=top>";V_op&&doop();if(typeof xpic!="undefined"&&xpic>0)h+="<br><a href=/C/xN1><img src=/C/xpic_1 border=0></a>";else{if(V_pr&6)h+="<br><a href=/@"+T_usr+'/_.jpg><img src="http://www.'+T_server+"/@"+T_usr+'/_1.jpg" border="0" on1mouseover="smv(this)"></a>';
else if(V_x3a0&1)h+="<br><a href=/@"+T_usr+"/_10.jpg><img src=/@"+T_usr+"/_11.jpg border=0></a>";if(typeof gpic!="undefined"){var q;h+="<br>";for(q=0;q<gpic.length;q+=2)h+='<br><a href="/tmp/club7.php?cid='+T_uid+"&k=&id=0&do=photos&pc="+gpic[q]+'"><img src="/tmp/photoz/'+T_uid+"_"+gpic[q]+"_"+gpic[q+1]+'_1.jpg" border=0></a>'}}if(V_pr&16)h+="<br><center>video<br><img src=http://"+x_2+"/@"+T_usr+'/,2_1.jpg class=ch onclick="showVid()"></center>';if(V_ps)h+="<br><a href=/C/P?l"+T_usr+">"+H_ps+"</a>";
h+="<br><br><a href=/kphp/mailfriend.php?u="+T_usr+">"+H_msg+"</a><br><br>";h+="<br><br><a href=/buy.php?t="+T_usr+">"+T_buy+"</a>";if(V_pr&128)h+="<br><a href=http://"+T_server+"/@"+T_usr+"/1.asf>"+H_voi+"</a><img src=/voice.gif>";h+="<br><br><a href=/kphp/comments1.php?sa=1&id="+T_uid+">Has rated..</a><br>";if(typeof V_ndrw!="undefined"&&V_ndrw>0)h+="<br><br><a href=http://"+x_2+"/paint/index.php?uid="+T_uid+"&tbid=1>Peintures</a><br>"}catch(s){dispErr(s,18)}if(fPosts>0)h+='<br><a href="/forum/list.php?t='+
T_uid+'">Forum</a><br>';h+="<br><a href=/kphp/mail00.php?eusr="+T_usr+">Motec oglas?</a><br>";if(phas&16)h+='<br><a href="http://www.kupid.com/tmp/blogs/php/list.php?uid='+T_uid+'" target=_blank>Blog/i</a><br>';if(phas&8&&typeof gpic!="undefined")h+='<br><a href="http://'+x_2+"/tmp/club7.php?cid="+T_uid+'" target=_blank>Galerije</a><br>';if(phas&2048)h+='<br><a href="/kphp/tests.php?r=1&uid='+T_uid+'">Tests, ext</a><br>';try{if(V_appr&8)h+="</td></tr></table><br><br><center>"+T_usr+" "+H_appr+"<br></center>";
else if(V_appr&16&&T_me!="nimda")h+="</td></tr></table><br><br><center>"+T_usr+" "+H_appr+"<br></center>";else{h+="</td></tr></table>";document.writeln(h);h="";if(T_me!=="")send(T_usr);else typeof wannaSendQ!="undefined"&&wannaSendQ(T_usr)}}catch(u){dispErr(u,183)}try{typeof V_friends!="undefined"&&V_friends&&sxInner(V_friends,"v_friends")}catch(w){dispErr(w,184)}try{if(V_sPlay)h+=gswf("http://"+x_2+"/bgsd/s"+V_sPlay+".swf","WIDTH=1 HEIGHT=1","")}catch(z){dispErr(z,17)}}
function hxRplAll(a){return a.split("\u0005").join("<").split("\u0006").join(">")}function hxHTM(a,c,b){h+=a+hxRplAll(c.innerHTML)+b}var _oq="";function oq(a){a="/kvizi/?gid="+a+"&ttl=1";if(!_oq||_oq.closed)window.open(a,"");else _oq.location=a}var m_P=["m_prof","m_profWa"];
function dopage(a){for(var c=a_c.length,b=1,d,e,f=0;b<c;)try{d=a_c[b++];e=a_c[b++];if(d==1||d==2||d==20||d==13||d==12||d==11||d==21||d==14||d==16||d==23)if(d==1||d==2){var g=document.getElementById(d==1?"m_pro_":"m_profW_");g&&hxHTM("<span id="+m_P[d-1]+">",g,"</span>")}else(g=document.getElementById("m_s"+d+"_"+e))&&hxHTM("",g,"");else if(d==3){f=1;shData(a)}}catch(j){dispErr(j,"1."+b)}try{f||shData(a)}catch(k){dispErr(k,2)}document.writeln(h);h="";try{gMusic();gBlog();gSlide();gPList();gPolls()}catch(l){dispErr(l,
3)}try{gFrame();gRSS()}catch(o){dispErr(o,4)}}
function psform(){var a="",c,b,d,e;a+="<form METHOD=POST ACTION=/C/P?a><OL START=1>";for(d in A_ps){a+="<p align=justify><LI>"+A_ps[d]+'<ul><font size="-1">';for(e in A_psv){c=e;++c;if(V_ps[d]-1==e)c+=" checked";a+="<input type=radio name=q"+d+" value="+c+">"+A_psv[e]}a+="</p></font></ul>"}a+="<select name=show>";for(b in A_psSw){c="";if(b==V_psSw)c=" selected";a+="<option value="+b+c+">"+A_psSw[b]}a+="</select><br><br>";a+='<input type=SUBMIT name=SEND value="'+T_send+'"></CENTER></FORM>';document.writeln(a)}
function pslist(){var a,c;h+="<table>";for(a in A_ps){if(!(a%5)){h+="<tr><td></td>";for(c in A_psv)h+="<td width=70 align=center><b>"+A_psv[c]+"</b></td>";h+="</tr>"}h+="<tr><td width=150>"+A_ps[a]+"</td>";h+="<td colspan=5><img src=/ps.gif height=20 width="+70*V_ps[a]+"></td></tr>"}h+="</table>";document.writeln(h);h=""}
function coolList(){var a;h+="Zanimive, najljubse osebe:<br><ol start=1><form method=get action="+P_serv+"/C/Crm>";for(a in A_cl)h+="<input type=checkbox name=a value="+a+">&nbsp;<a href=/"+A_cl[a]+">"+A_cl[a]+"</a><br>";h+='</ol><br>oznacene osebe<br><input type=submit value="mi niso vec vsec"></form>';document.writeln(h);h=""}var dragapproved=false,minrestore=0,initialwidth,initialheight,ie5=document.all&&document.getElementById;ns6=document.getElementById&&!document.all;var vidW=null,off_x,off_y;
function brtest(){return!window.opera&&document.compatMode&&document.compatMode!="BackCompat"?document.documentElement:document.body}function drag_drop(a){a||(a=event);if((ie5&&a.button==1||ns6)&&dragapproved){vidW.style.left=tempx+a.clientX-off_x+"px";vidW.style.top=tempy+a.clientY-off_y+"px"}}
function initializedrag(a){a||(a=event);off_x=a.clientX;off_y=a.clientY;document.getElementById("dwindowcontent").style.display="none";tempx=parseInt(vidW.style.left);tempy=parseInt(vidW.style.top);dragapproved=true;vidW.onmousemove=drag_drop}
function swWnd(a,c,b){if(!ie5&&!ns6)window.open(a,"","width=width,height=height,scrollbars=1");else if(vidW=document.getElementById("dwindow")){vidW.style.display="";vidW.style.width=initialwidth=c+"px";vidW.style.height=initialheight=b+"px";vidW.style.left="30px";vidW.style.top=ns6?window.pageYOffset*1+30+"px":brtest().scrollTop*1+30+"px";c=document.getElementById("cframe");if(c.tagName.toLowerCase()!="iframe")c.innerHTML=a;else c.src=a}}function closeit(){vidW.style.display="none"}
function stopdrag(){dragapproved=false;vidW.onmousemove=null;document.getElementById("dwindowcontent").style.display=""};
