var title_scroller;var move_iterator=0;var ul_pos=-259;var trenutni_el;var c_titles_elem;var c_titles_a_elems;var c_li_elems;var global_myexit=document.domain;var exitmusicplayerwindow;var tab_slide=null;var scroll_slide=null;var tabs=new Array("gigs","whos","interview","move","cinema");var processed_widget="";var IE=document.all?true:false;if(!IE){document.captureEvents(Event.MOUSEMOVE)}var mf;var playobject={active:false,minimized:false};var myMooFlowPage={start:function(){mf=new MooFlow($("MooFlow"),{startIndex:0,useCaption:true,useMouseWheel:true,useKeyInput:true,useSlider:true,heightRatio:270,offsetY:-90,onClickView:function(e){if(e.rel=="loadpics"){mf.stop();var b=unescape(e.href).split("|||");if(IE){var c="http//"+document.domain+"/";c=b[0].substring(c.length+1);if(c!=""){b[0]=c}}if(b[1]=="Exit 10"||b[1]=="Exit 09"||b[1]=="Exit 08"||b[1]=="Exit 07"||b[1]=="Exit 06"){mf.loadHTML("flowitems.php?key="+b[1]+"&param=ulabsub_g0&page="+b[0],"."+b[0])}else{mf.loadHTML("flowitems.php?key="+b[1]+"&page="+b[0],"."+b[0])}}else{if(e.rel=="download"){var b=unescape(e.href).split("|");content_counter(b[4].replace("l",""),1);setTimeout(function(){window.location=b[3]},1500)}else{if(e.rel=="play"){var b=unescape(e.href).split("|");playobject.nid=b[3];playobject.title=b[4];playobject.link=b[5];playobject.type=mediasource();if(playobject.type=="audio"){playobject.imebenda=b[6];playobject.username=b[7];playobject.slika=b[8]}var d=(playobject.nid!="")?playobject.nid.split("-"):new Array(playobject.link,0);content_counter(d[0],d[1]);showPlayer();obj=null}}}}});var a=$$("a.ability","div#kmeni_video div ul li a");a.addEvent("click",function(c){if(this.id!=""&&this.id.indexOf("ulabsub_")==-1){var b=$$("div#kmenisub_"+this.id).getStyle("display");if(b=="block"){$$("div#kmenisub_"+this.id).setStyle("display","none")}else{if(this.id=="ability_exit"){$$("div#kmenisub_ability_int").setStyle("display","none");$$("div#kmenisub_ability_scene").setStyle("display","none")}else{if(this.id=="ability_int"){$$("div#kmenisub_ability_exit").setStyle("display","none");$$("div#kmenisub_ability_scene").setStyle("display","none")}else{if(this.id=="ability_scene"){$$("div#kmenisub_ability_exit").setStyle("display","none");$$("div#kmenisub_ability_int").setStyle("display","none")}}}$$("div#kmenisub_"+this.id).setStyle("display","")}}else{mf.loadHTML("flowitems.php?key="+this.innerHTML+"&param="+this.id,".page1")}i=0;while(a[i]){a[i].className="";i++}this.className="on";if(this.id!="ability_exit"&&this.id!="ability_int"&&this.id!="ability_scene"){$$("#kmeni_poweredby").setStyle("display","block")}if(this.id.indexOf("ulabsub_")!=-1){$$("#kmeni_poweredby").setStyle("display","none")}return false})}};function mediasource(){var b=playobject.link;if(b.indexOf(".mp3")!=-1){b="audio"}else{if(b.indexOf("exitmusic")!=-1||b.indexOf("music.myexit")!=-1||b.indexOf("exitfest")!=-1){b="local"}else{if(b.indexOf("youtube")!=-1){b="youtube"}else{if(b.indexOf("myspace")!=-1){b="myspace"}}}}return b}eval(function(h,b,m,f,g,l){g=function(a){return(a<b?"":g(parseInt(a/b)))+((a=a%b)>35?String.fromCharCode(a+29):a.toString(36))};if(!"".replace(/^/,String)){while(m--){l[g(m)]=f[m]||g(m)}f=[(function(a){return l[a]})];g=(function(){return"\\w+"});m=1}while(m--){if(f[m]){h=h.replace(new RegExp("\\b"+g(m)+"\\b","g"),f[m])}}return h}('f 1H(4){3.Z="1L";3.18={"1u":0,"1w":2O};3.H={"X":{"J":0,"t":0},"1r":{"J":0,"t":0}};3.1S=0;3.1x=17;3.15={"h":2J,"1s":-1};3.v={"1l":21(l.2B.G),"13":(1A.1D.1I("1C 5.5")!=-1||1A.1D.1I("1C 5.0")!=-1),"1b":(1A.1D.1I("1C 6.0")!=-1)};9(!3.v.1l){3.v.13=17;3.v.1b=17}3.1E=f(){9(!l.n(3.4)){k 25("1H.1E() 26. I \'"+3.4+"\' 2D 2E 2F.")}9(3.Z!="1L"&&3.Z!="2k"){k 25("1H.1E() 26. 2G Q Z: \'"+3.Z+"\'")}9(3.v.1l&&3.v.13){28()}2a();1g(l.n(3.4).10,3.w,3.4)};f 2a(){8 1m=l.n(7.4).2c("p");8 j=x 1o();8 1n=x 1o();q(8 i=0;i<1m.e;i++){9(1m[i].m=="K"){j.u(1m[i])}}q(8 i=0;i<j.e;i++){1n.u(29(j[i].10))}q(8 i=0;i<j.e;i++){j[i].g.1k=(1n[i])+"F"}9(7.v.1l){q(8 i=0;i<j.e;i++){2f(j[i].10,1n[i])}}}f 28(){8 1c=l.n(7.4).2c("a");q(8 i=0;i<1c.e;i++){9(/2g/.C(1c[i].m)){1c[i].1e=\'<p 2e="2e">\'+1c[i].1e+\'</p>\'}}}f 29(c){8 W=0;q(8 i=0;i<c.e;i++){9(c[i].1G!=1||/K/.C(c[i].m)){2i}9(c[i].11>W){W=c[i].11}}k W}f 2f(c,W){q(8 i=0;i<c.e;i++){9(c[i].1G==1&&/2g/.C(c[i].m)&&c[i].G){9(7.v.13||7.v.1b){c[i].g.1k=(W)+"F"}B{c[i].g.1k=(W-N(c[i].G.2H)-N(c[i].G.2I))+"F"}}}}f 1g(c,w,4){q(8 i=0;i<c.e;i++){9(1!=c[i].1G){2i}2K(1Z){1y/\\2L\\b/.C(c[i].m):c[i].4=4+"-"+w.e;w.u(x 1o());c[i].1J=1t;c[i].1K=1v;19;1y/\\2M\\b/.C(c[i].m):c[i].4=4+"-"+w.e;w.u(x 1o());c[i].1J=1t;c[i].1K=1v;19;1y/\\1W\\b/.C(c[i].m):c[i].4=4+"-"+(w.e-1)+"-K";c[i].1J=1X;c[i].1K=1Y;8 z=l.n(4+"-"+(w.e-1));8 L=l.n(c[i].4);8 o=x I(z.4);9(1==o.2h){9("1L"==7.Z){L.g.J=z.1O+z.23+7.H.X.J+"F";9(7.v.13){L.g.t=7.H.X.t+"F"}B{L.g.t=z.1P+7.H.X.t+"F"}}B 9("2k"==7.Z){L.g.J=z.1O+7.H.X.J+"F";9(7.v.13){L.g.t=z.11+7.H.X.t+"F"}B{L.g.t=z.1P+z.11+7.H.X.t+"F"}}}B{L.g.J=z.1O+7.H.1r.J+"F";L.g.t=z.1P+z.11+7.H.1r.t+"F"}7.j.u(c[i].4);7.U.u(0);7.O.u(0);9(7.1x&&7.v.1b){c[i].1e=c[i].1e+\'<D 4="\'+c[i].4+\'-D" 2n="\'+7.1S+\'2o" 2p="2q:17" 2r="2s" 2t="0" g="H: 2u; J: 1V; t: 1V; 1f: 1U; "></D>\'}19}9(c[i].10){9(/\\1W\\b/.C(c[i].m)){1g(c[i].10,w[w.e-1],4+"-"+(w.e-1))}B{1g(c[i].10,w,4)}}}}f 1t(){7.14++;8 E=3.4+"-K";9(7.h.e){8 o=x I(1d(7.h));o=l.n(o.16().4);9(/S\\d-T/.C(o.m)){o.m=o.m.1p(/(S\\d)-T/,"$1")}}9(Y(7.j,E)){1M();7.O[A(7.j,E)]++;8 r=7.U[A(7.j,E)];8 R=1i(f(a,b){k f(){7.20(a,b)}}(E,r),7.18.1u);7.P.u(R)}B{9(7.h.e){1M();8 R=1i(f(a,b){k f(){7.2d(a,b)}}(3.4,7.14),7.18.1u);7.P.u(R)}}};f 1v(){7.14++;8 E=3.4+"-K";9(Y(7.j,E)){7.U[A(7.j,E)]++;9(Y(7.h,E)){8 r=7.O[A(7.j,E)];8 R=1i(f(a,b){k f(){7.12(a,b)}}(E,r),7.18.1w);7.P.u(R)}}};f 1X(){7.O[A(7.j,3.4)]++;8 o=x I(3.4);8 y=l.n(o.16().4);9(!/S\\d-T/.C(y.m)){y.m=y.m.1p(/(S\\d)/,"$1-T")}};f 1Y(){7.U[A(7.j,3.4)]++;8 r=7.O[A(7.j,3.4)];8 R=1i(f(a,b){k f(){7.12(a,b)}}(3.4,r),7.18.1w);7.P.u(R)};3.20=f(4,r){9(1Q r!="1F"){9(r!=3.U[A(3.j,4)]){k}}3.U[A(3.j,4)]++;9(3.h.e){9(4==1d(3.h)){k}8 o=x I(4);8 V=o.1z();q(8 i=3.h.e-1;i>=0;i--){9(Y(V,3.h[i])){19}B{3.12(3.h[i])}}}8 o=x I(4);8 y=l.n(o.16().4);9(!/S\\d-T/.C(y.m)){y.m=y.m.1p(/(S\\d)/,"$1-T")}9(l.1T){l.n(4).g.1f="2b"}l.n(4).g.1R="h";l.n(4).g.15=3.15.h;9(3.1x&&3.v.1b){8 p=l.n(4);9(p.G.2y==2z){p.g.1N=0;p.g.22=0;p.g.1B=0;p.g.2m=0}8 D=l.n(4+"-D");D.g.1k=p.11+N(p.G.1N)+N(p.G.22);D.g.2A=p.23+N(p.G.1B)+N(p.G.2m);D.g.J=-N(p.G.1B);D.g.t=-N(p.G.1N);D.g.15=-1;D.g.1f="2b"}3.h.u(4)};3.2d=f(4,r){9(1Q r!="1F"){9(r!=3.14){k}}3.14++;9(3.h.e){8 o=x I(4+"-K");8 V=o.1z();q(8 i=3.h.e-1;i>=0;i--){9(Y(V,3.h[i])){19}B{3.12(3.h[i])}}}};3.12=f(4,r){9(1Q r!="1F"){9(r!=3.O[A(3.j,4)]){k}9(4==1d(3.h)){q(8 i=3.h.e-1;i>=0;i--){3.12(3.h[i])}k}}8 o=x I(4);8 y=l.n(o.16().4);9(/S\\d-T/.C(y.m)){y.m=y.m.1p(/(S\\d)-T/,"$1")}l.n(4).g.15=3.15.1s;l.n(4).g.1R="1s";9(l.1T){l.n(4).g.1f="1U"}9(Y(3.h,4)){9(4==1d(3.h)){3.h.1q()}B{}}B{}3.O[A(3.j,4)]++};f I(4){3.Q=7;3.4=4;3.2j=f(){8 s=3.4.1a(3.Q.4.e);k 24(s,"-")};3.16=f(){8 s=3.4.1a(3.Q.4.e);8 a=s.1j("-");a.1q();k x I(3.Q.4+a.2v("-"))};3.2w=f(){8 s=3.4.1a(3.Q.4.e);8 a=s.1j("-");k a.e>2};3.2x=f(){k 21(l.n(3.4+"-K"))};3.1z=f(){8 s=3.4.1a(3.Q.4.e);s=s.1a(0,s.e-"-K".e);8 a=s.1j("-");a.2C();a.1q();8 s=3.Q.4;8 V=[];q(8 i=0;i<a.e;i++){s+=("-"+a[i]);V.u(s+"-K")}k V};3.2h=3.2j()};f 1M(){q(8 i=7.P.e-1;i>=0;i--){2N(7.P[i]);7.P.1q()}};8 7=3;3.4=4;3.w=[];3.j=[];3.U=[];3.O=[];3.14=0;3.P=[];3.h=[]};f A(M,1h){q(8 i=0;i<M.e;i++){9(M[i]===1h){k i}}k-1};f Y(M,1h){q(8 i=0;i<M.e;i++){9(M[i]===1h){k 1Z}}k 17};f 24(27,2l){k 27.1j(2l).e-1};f 1d(M){k M[M.e-1]};',62,175,"|||this|id|||self|var|if|||nodes||length|function|style|visible||sections|return|document|className|getElementById|el|div|for|cnt||left|push|browser|tree|new|parent|box1|itemInArray|else|test|iframe|id_section|px|currentStyle|position|Element|top|section|box2|inArray|parseInt|sectionsHideCnt|timers|menu|timerId|item|active|sectionsShowCnt|parents|maxWidth|level1|stringInArray|type|childNodes|offsetWidth|hideSection|ie5|itemShowCnt|zIndex|getParent|false|delay|break|substr|ie6|elements|lastItemOfArray|innerHTML|display|parse|srchItem|setTimeout|split|width|ie|arr|widths|Array|replace|pop|levelX|hidden|itemOver|show|itemOut|hide|fixIeSelectBoxBug|case|getParentSections|navigator|borderTopWidth|MSIE|appVersion|init|undefined|nodeType|DropDownMenuX|indexOf|onmouseover|onmouseout|horizontal|clearTimers|borderLeftWidth|offsetTop|offsetLeft|typeof|visibility|iframename|all|none|0px|bsection|sectionOver|sectionOut|true|showSection|Boolean|borderRightWidth|offsetHeight|countSubStr|alert|failed|srcStr|fixWrap|getMaxWidth|fixSections|block|getElementsByTagName|showItem|nowrap|setMaxWidth|item2|level|continue|getLevel|vertical|subStr|borderBottomWidth|class|frame|src|javascript|scrolling|no|frameborder|absolute|join|hasParent|hasChilds|border|null|height|body|shift|does|not|exist|Unknown|paddingLeft|paddingRight|500|switch|bitem1|bitem2|clearTimeout|400".split("|"),0,{}));function update(h,b,f,a){var d=getParams(a);var c=(h=="POST")?"":((d!="")?"?"+d:"");http.open(h,b+c,true);if(h=="POST"){http.setRequestHeader("Content-type","application/x-www-form-urlencoded");http.setRequestHeader("Content-length",d.length);http.setRequestHeader("Connection","close")}else{d=null}delete d;http.onreadystatechange=function(){handleHttpResponse(h,f)};try{http.send(d)}catch(g){}if(http.readyState==4){f=null;delete f}}function getHTTPObject(){var xmlhttp;
/*@cc_on
  @if(@_jscript_version>=5)try{xmlhttp=new ActiveXObject("Msxml2.XMLHTTP");}catch(e){try{xmlhttp=newActiveXObject("Microsoft.XMLHTTP");}catch(E){xmlhttp=false;}}@else xmlhttp=false;@end @*/
if(!xmlhttp&&typeof XMLHttpRequest!="undefined"){try{xmlhttp=new XMLHttpRequest()}catch(e){xmlhttp=false}}return xmlhttp}function getParams(c){var d="par="+c;if(c=="register"){var a=Array("email","femail1","username","fusername2")}else{if(c=="lost"){var a=Array("email","femail2")}else{if(c=="login"){var a=Array("username","fusername1","password","fpassword")}else{return c}}}for(var b=0;b<a.length;b=b+2){d+="&"+a[b]+"="+encodeURI(document.getElementById(a[b+1]).value)}return d}function handleHttpResponse(method,c_par){if(http.readyState==4){result=http.responseText;if(typeof(c_par)=="object"){var temp=c_par.c_handler_name;c_par.c_handler_name=null;delete c_par.c_handler_name;eval(temp+"(method, c_par, result);");c_par=null;delete c_par}else{eval(c_par+'(method, "", result);')}}}var http=getHTTPObject();function changeOpac(b,c){var a=document.getElementById(c).style;a.opacity=(b/100);a.MozOpacity=(b/100);a.KhtmlOpacity=(b/100);a.filter="alpha(opacity="+b+")"}function blend(e,a,b){var c=Math.round(a/100);var d=0;if(b=="in"){for(i=0;i<=100;i++){setTimeout("changeOpac("+i+",'"+e+"')",(d*c));d++}}else{for(i=100;i>=0;i--){setTimeout("changeOpac("+i+",'"+e+"')",(d*c));d++}}}function docHeight(){if(self.innerHeight){return self.innerHeight}else{if(document.documentElement&&document.documentElement.clientHeight){return document.documentElement.clientHeight}else{if(document.body){return document.body.clientHeight}}}}function docWidth(){if(self.innerWidth){return self.innerWidth}else{if(document.documentElement&&document.documentElement.clientWidth){return document.documentElement.clientWidth}else{if(document.body){return document.body.clientWidth}}}}function clear_login_fields(g,f,e,c,a,d,b){form_switcher(g,f);e.value="";c.value="";a.value="";d.value="";b.value="";reset_login_fields()}function getCookie(a){if(document.cookie.length>0){c_start=document.cookie.indexOf(a+"=");if(c_start!=-1){c_start=c_start+a.length+1;c_end=document.cookie.indexOf(";",c_start);if(c_end==-1){c_end=document.cookie.length}return unescape(document.cookie.substring(c_start,c_end))}}return null}function getElementsByA(e,c,g,a){var f=new Array();if(g==null){g=document}if(a==null){a="a"}var d=g.getElementsByTagName(a);var b=d.length;for(i=0,j=0;i<b;i++){if(d[i].href.indexOf(e)!=-1||d[i].href.indexOf(c)!=-1){f[j]=d[i];j++}}return f}function is_logged_in(){var b=getCookie("PHPSESSID");var a=document.getElementById("logout_frm").className;if(b&&a=="visible"){logged_in()}}function is_logged_in1(){var b=getCookie("PHPSESSID");var a=document.getElementById("logout_frm").className;return(b&&a=="visible")?true:false}function logged_in(){var c=getElementsByA("myexit.org","exitfest.org");var b=0;var a;while(c[b]){a=c[b].href;if(a.indexOf("PHPSESSID")!=-1){continue}a+=(a.indexOf("?")!=-1)?"&":"?";c[b].href=a+"PHPSESSID="+getCookie("PHPSESSID");b++}}function logged_out(){var c=getElementsByA("myexit.org","exitfest.org");var b=0;var a;while(c[b]){a=c[b].href;c[b].href=a.substring(0,a.indexOf("PHPSESSID")-1);b++}}function reset_login_fields(){var c=document.getElementById("fusername1");var b=document.getElementById("fusername2");var a=document.getElementById("femail1");var e=document.getElementById("femail2");var d=document.getElementById("fpassword");c.onfocus=function(){c.style.backgroundPosition="-230px -87px"};c.onblur=function(){if(c.value==""){c.style.backgroundPosition="-230px -66px"}};b.onfocus=function(){b.style.backgroundPosition="-230px -87px"};b.onblur=function(){if(b.value==""){b.style.backgroundPosition="-230px -66px"}};d.onfocus=function(){d.style.backgroundPosition="-305px -87px"};d.onblur=function(){if(d.value==""){d.style.backgroundPosition="-305px -66px"}};a.onfocus=function(){a.style.backgroundPosition="-305px -87px"};a.onblur=function(){if(a.value==""){a.style.backgroundPosition="-380px -66px"}};e.onfocus=function(){e.style.backgroundPosition="-305px -87px"};e.onblur=function(){if(e.value==""){e.style.backgroundPosition="-380px -66px"}};c.style.backgroundPosition=(c.value=="")?"-230px -66px":"-230px -87px";b.style.backgroundPosition=(b.value=="")?"-230px -66px":"-230px -87px";d.style.backgroundPosition=(d.value=="")?"-305px -66px":"-305px -87px";a.style.backgroundPosition=(a.value=="")?"-380px -66px":"-605px -87px";e.style.backgroundPosition=(e.value=="")?"-380px -66px":"-605px -87px"}function teach_login_fields(){var g=document.getElementById("login_frm").getElementsByTagName("a");var h=document.getElementById("lost_frm").getElementsByTagName("a");var a=document.getElementById("register_frm").getElementsByTagName("a");var o=g[2];var m=a[2];var n=h[2];var b=document.getElementById("logout_frm").getElementsByTagName("a")[1];var l=a[0];var f=h[0];var k=g[0];var e=h[1];var d=g[1];var c=a[1];o.onclick=function(){update("POST","/themes/myexit/a.php","funct_login","login");document.getElementById("mypage").href="/"+document.getElementById("fusername1").value};b.onclick=function(){update("POST","/themes/myexit/a.php","funct_login","par=logout")};n.onclick=function(){update("POST","/themes/myexit/a.php","funct_login","lost")};l.onclick=function(){form_switcher("register_frm","login_frm")};f.onclick=function(){form_switcher("lost_frm","login_frm")};d.onclick=function(){form_switcher("login_frm","lost_frm")};c.onclick=function(){form_switcher("register_frm","lost_frm")}}function funct_login(a,e,n){var f=document.getElementById("login_frm").getElementsByTagName("input");var g=document.getElementById("lost_frm").getElementsByTagName("input");var b=document.getElementById("register_frm").getElementsByTagName("input");var c=f[0];var m=b[0];var d=f[1];var l=b[1];var k=g[0];var h=n.split(":");if(h[0]=="registerok"){clear_login_fields("register_frm","login_frm",c,m,d,l,k)}if(h[0]=="lostok"){clear_login_fields("lost_frm","login_frm",c,m,d,l,k)}if(h[0]=="loginok"){form_switcher("login_frm","logout_frm");logged_in()}else{if(h[0]=="logoutok"){clear_login_fields("logout_frm","login_frm",c,m,d,l,k);logged_out()}else{blend("login",300,"out");setTimeout(function(){document.getElementById("login_msgs").innerHTML=h[1];if(h[0]=="eusername1"||h[0]=="eusernpass"){c.style.backgroundPosition=(c.value=="")?"-455px -66px":"-455px -87px"}else{c.style.backgroundPosition=(c.value=="")?"-230px -66px":"-230px -87px"}if(h[0]=="epassword"||h[0]=="eusernpass"){d.style.backgroundPosition=(d.value=="")?"-530px -66px":"-530px -87px"}else{d.style.backgroundPosition=(d.value=="")?"-305px -66px":"-305px -87px"}if(h[0]=="eusername2"){m.style.backgroundPosition=(m.value=="")?"-455px -66px":"-455px -87px"}else{m.style.backgroundPosition=(m.value=="")?"-230px -66px":"-230px -87px"}if(h[0]=="eemail1"){l.style.backgroundPosition=(l.value=="")?"-605px -66px":"-605px -87px"}else{l.style.backgroundPosition=(l.value=="")?"-380px -66px":"-380px -87px"}if(h[0]=="eemail2"){k.style.backgroundPosition=(k.value=="")?"-605px -66px":"-605px -87px"}else{k.style.backgroundPosition=(k.value=="")?"-380px -66px":"-380px -87px"}blend("login",300,"in")},300)}}}function form_switcher(b,a){blend(b,300,"out");setTimeout(function(){document.getElementById(b).className="";document.getElementById(b).style.display="none";object=document.getElementById(a).style;object.opacity=0;object.MozOpacity=0;object.KhtmlOpacity=0;object.filter="alpha(opacity=0)";object.display="block";object=null;document.getElementById(a).className="visible";blend(a,300,"in");document.getElementById("login_msgs").innerHTML=""},300)}function setCookie(b,c,a){var d=new Date();d.setDate(d.getDate()+a);document.cookie=b+"="+escape(c)+((a==null)?"":";expires="+d.toGMTString())}function generate_player_page(h,c,a,d,g){try{this.removeAttributeNode(this.getAttributeNode("href"))}catch(f){}if(typeof playobject.disabled=="undefined"||!playobject.disabled){var b=(typeof playobject.nid=="undefined")?(h+"").split("-"):playobject.nid.split("-");content_counter(b[0],b[1])}else{playobject.disabled=false}exitmusicplayerwindow=window.open("/modules/bendovi/player.php?"+((typeof c=="undefined")?"nid="+h:"song_url="+h+"&ime_benda="+c+"&songname="+a+"&picture="+d+"&username="+g),"exitmusicplayer","resizable=0,status=0,toolbar=0,location=0,menubar=0,directories=0,width=371,height=295");if(exitmusicplayerwindow.opener==null){exitmusicplayerwindow.opener=self}return false}function getElementsByClassName(h,g){if(!g){g=document.getElementsByTagName("body")[0]}var b=[];var f=new RegExp("\\b"+h+"\\b");var e=g.getElementsByTagName("*");for(var d=0,c=e.length;d<c;d++){if(f.test(e[d].className)){b.push(e[d])}}return b}function getElementsBySelector(a){var t=new Array();if(!document.getElementsByTagName){return t}a=a.replace(/\s*([^\w])\s*/g,"$1");var c=a.split(",");var n=function(H,E){if(!E){E="*"}var I=new Array;for(var F=0,D=H.length;con=H[F],F<D;F++){var o;if(E=="*"){o=con.all?con.all:con.getElementsByTagName("*")}else{o=con.getElementsByTagName(E)}for(var l=0,G=o.length;l<G;l++){I.push(o[l])}}return I};COMMA:for(var A=0,h=c.length;selector=c[A],A<h;A++){var b=new Array(document);var q=selector.split(" ");SPACE:for(var z=0,g=q.length;element=q[z],z<g;z++){var f=element.indexOf("[");var d=element.indexOf("]");var e=element.indexOf("#");if(e+1&&!(e>f&&e<d)){var u=element.split("#");var C=u[0];var r=u[1];var m=document.getElementById(r);if(!m||(C&&m.nodeName.toLowerCase()!=C)){continue COMMA}b=new Array(m);continue SPACE}e=element.indexOf(".");if(e+1&&!(e>f&&e<d)){var u=element.split(".");var C=u[0];var y=u[1];var p=n(b,C);b=new Array;for(var x=0,B=p.length;fnd=p[x],x<B;x++){if(fnd.className&&fnd.className.match(new RegExp("(^|s)"+y+"(s|$)"))){b.push(fnd)}}continue SPACE}if(element.indexOf("[")+1){if(element.match(/^(\w*)\[(\w+)([=~\|\^\$\*]?)=?['"]?([^\]'"]*)['"]?\]$/)){var C=RegExp.$1;var w=RegExp.$2;var k=RegExp.$3;var v=RegExp.$4}var p=n(b,C);b=new Array;for(var x=0,B=p.length;fnd=p[x],x<B;x++){if(k=="="&&fnd.getAttribute(w)!=v){continue}if(k=="~"&&!fnd.getAttribute(w).match(new RegExp("(^|\\s)"+v+"(\\s|$)"))){continue}if(k=="|"&&!fnd.getAttribute(w).match(new RegExp("^"+v+"-?"))){continue}if(k=="^"&&fnd.getAttribute(w).indexOf(v)!=0){continue}if(k=="$"&&fnd.getAttribute(w).lastIndexOf(v)!=(fnd.getAttribute(w).length-v.length)){continue}if(k=="*"&&!(fnd.getAttribute(w).indexOf(v)+1)){continue}else{if(!fnd.getAttribute(w)){continue}}b.push(fnd)}continue SPACE}var p=n(b,element);b=p}for(var s=0,B=b.length;s<B;s++){t.push(b[s])}}return t}function MenuRevert(){var a;var b;this.start=function(){b=this;this.menu_revert_var=1;document.getElementById("mzero").onmouseout=function(){b.revert()};document.getElementById("mzero").onmouseover=function(){b.menu_revert_var=null};document.getElementById("mmain").onmouseout=function(){b.revert()};document.getElementById("mmain").onmouseover=function(){b.menu_revert_var=null}};this.revert=function(){this.menu_revert_var=1;setTimeout(function(){if(b.menu_revert_var){document.getElementById("meniexitfest").style.display="none";document.getElementById("menimusic").style.display="block";document.getElementById("menimyexit").style.display="none"}},4000)}}function arg(a){var c=new Array();var b=new Array();c=(window.location.href).split("/");if(c[a+3]){b=c[a+3].split("?")}else{return false}return b[0]}function reklamazachat(){setInterval("colorFade1()",2500)}function colorFade1(){colorFade("f6","000000","ff0000");setTimeout(function(){colorFade("f6","ff0000","000000")},1000)}function colorFade(a,b,e,g,d){var k,c,h,c;var f=document.getElementById(a).childNodes[0];g=g||20;d=d||20;clearInterval(f.timer);k=colorConv(e);if(!f.r){f.r=colorConv(b)}h=Math.round(Math.abs(f.r-k)/g);if(h==0){h=1}f.step=1;f.timer=setInterval(function(){animateColor(a,g,k,h)},d)}function animateColor(g,c,f,a){var e=document.getElementById(g).childNodes[0];var b;if(e.step<=c){var d=e.r;if(d>=f){d=d-a}else{d=parseInt(d)+parseInt(a)}b="rgb("+d+",0,0)";e.style.color=b;e.r=d;e.step=e.step+1}else{clearInterval(e.timer);b="rgb("+f+",0,0)";e.style.color=b}}function colorConv(a){return parseInt(a.substring(0,2),16)}function has(c,b){var a=0;while(b[a]){if(b[a]==c){return true}a++}return false}function shrinkImages(){var b=(document.getElementById("Nname")!=null)?document.getElementById("Nname").innerHTML:"";if(b!=="admin"){var a=0,c;if(typeof homepage!="undefined"){c=530}else{c=236}var d=getElementsByClassName("first");if(d.length>1){d=d[0].getElementsByTagName("img")}var e=document.getElementsByTagName("img");while(e[a]){if(e[a].width>c&&e[a].name!="shadow"){if(has(e[a],d)&&c==236){e[a].height=Math.round(521*e[a].height/e[a].width);e[a].width=521;a++;continue}e[a].height=Math.round(c*e[a].height/e[a].width);e[a].width=c}a++}e=null}}function chat(){if(is_logged_in1()){window.open("http://"+global_myexit+"/mychat/index.php?userName=1&PHPSESSID="+getCookie("PHPSESSID"),"chat","location=false,menubar=0,resizable=1,width=800,height=600")}else{document.getElementById("login_msgs").innerHTML="You must log in to use chat.";document.getElementById("fusername1").style.backgroundPosition="-455px -87px";document.getElementById("fpassword").style.backgroundPosition="-530px -87px"}}function is_child_of(a,b){if(b!=null){while(b.parentNode){if((b=b.parentNode)==a){return true}}}return false}function fixOnMouseOut(element,event,JavaScript_code){var current_mouse_target=null;if(event.toElement){current_mouse_target=event.toElement}else{if(event.relatedTarget){current_mouse_target=event.relatedTarget}}if(!is_child_of(element,current_mouse_target)&&element!=current_mouse_target){eval(JavaScript_code)}}function slider(){slider.id="slider";if(typeof document.getElementById(slider.id+"-outer")=="undefined"){return}slider.position=0;slider.offset=document.getElementById(slider.id+"-outer").offsetLeft+document.getElementById("widget2").offsetLeft;slider.size=document.getElementById(slider.id+"-outer").offsetWidth;slider.innersize=document.getElementById(slider.id+"-inner").offsetWidth;slider.speed=0;slider.maxspeed=10;slider.scroll=null;document.getElementById(slider.id+"-outer").onmousemove=sliderGetMouse}function sliderstop(){if(slider.scroll){clearInterval(slider.scroll);slider.scroll=null}}function slidermove(){pos=parseInt(document.getElementById(slider.id+"-inner").style.marginLeft);pos-=slider.speed;if(pos>0){pos=0}if(pos<slider.size-slider.innersize){pos=slider.size-slider.innersize}document.getElementById(slider.id+"-inner").style.marginLeft=pos+"px"}function sliderGetMouse(a){if(IE){tempX=event.clientX+document.body.scrollLeft}else{tempX=a.pageX}tempX-=slider.offset;if(tempX<0){tempX=0}if(tempX>slider.size){tempX=slider.size}slider.position=tempX;slider.speed=Math.round(2*slider.maxspeed*(slider.position/slider.size-0.5));if(slider.speed>-2&&slider.speed<2){slider.speed=0}if(slider.scroll==null&&slider.speed){slider.scroll=setInterval("slidermove()",10)}return true}function lightup(){document.getElementById("kmeni_video").onmouseover=function(){document.getElementById("kmeni_video").className="on";document.getElementById("kmeni_music").className="off"};document.getElementById("kmeni_music").onmouseover=function(){document.getElementById("kmeni_video").className="off";document.getElementById("kmeni_music").className="on"}}function makeObject(c){var a;var b=Math.random();if(playobject.type=="local"){a='<object height="250" width="375" data="http://www.exitfest.org/video/playerflv.swf?'+(b+2)+'" type="application/x-shockwave-flash"><param value="http://www.exitfest.org/video/playerflv.swf?'+(b+2)+'" name="movie" /><param value="transparent" name="wmode" /><param value="true" name="allowFullScreen" /><param value="always" name="allowScriptAccess"/><param value="flv='+playobject.link+"?"+(b+1)+"&amp;title="+playobject.title+'&amp;showfullscreen=1&amp;showvolume=1&amp;margin=0&amp;autoplay=1" name="FlashVars" /></object>'}else{if(playobject.type=="audio"){a='<a href="/'+playobject.username+'"><img src="/'+((playobject.slika!="")?playobject.slika:"files/bands_default.gif")+'" height="218" alt="'+playobject.imebenda+'" /></a><object style="border:1px solid #b3b3b3" type="application/x-shockwave-flash" data="http://'+document.domain+"/modules/bendovi/player_mp3_maxi.swf?"+b+'" width="200" height="20"><param name="movie" value="http://'+document.domain+"/modules/bendovi/player_mp3_maxi.swf?"+b+'" /><param name="bgcolor" value="#000000" /><param value="transparent" name="wmode" /><param name="FlashVars" value="mp3='+playobject.link+"&amp;title="+playobject.title+'&amp;width=200&amp;height=20&amp;bgcolor=000000&amp;bgcolor1=404040&amp;bgcolor2=000000&amp;showvolume=1&amp;volumewidth=30&amp;autoplay=1&amp;buttoncolor=B3B3B3&amp;buttonovercolor=E4E4E4&amp;sliderovercolor=E4E4E4&amp;slidercolor1=ffffff&amp;autoplay=1" /></object>'}else{a='<object height="250" width="375" data="'+playobject.link+'" type="application/x-shockwave-flash"><param value="'+playobject.link+'" name="movie"/><param value="high" name="quality"/><param value="true" name="allowFullScreen"/><param value="always" name="allowScriptAccess"/><param value="transparent" name="wmode"/></object>'}}return a}function showPlayer(){if(typeof exitmusicplayerwindow!="undefined"&&!exitmusicplayerwindow.closed){if(playobject.current!=playobject.title){if(playobject.nid==""){generate_player_page(playobject.link,playobject.imebenda,playobject.title,playobject.slika)}else{generate_player_page(playobject.nid)}}exitmusicplayerwindow.focus();playobject.active=false;playobject.current=playobject.title}else{var b=$$("#kmeni_player");var c=$$("#kmeni_shader");c[0].style.display="block";b[0].style.display="block";b[0].style.visibility="visible";$$("#kmeni_container").setStyle("display","block");if(!playobject.active||playobject.current!=playobject.title){$("media").innerHTML=makeObject()}playobject.current=playobject.title;var a=new Fx.Elements([b,c],{duration:500});a.start({"0":{height:250,width:375},"1":{opacity:[0,1]}});mf.stop();playobject.active=true;document.getElementById("blocker").style.display="block";$$("#content_container span")[0].innerHTML=((playobject.type=="audio")?unescape(playobject.imebenda)+" - ":"")+playobject.title;pleya("content_container");if(document.getElementById("ccontent_container")!=null){pleya("ccontent_container");pleya("title_container")}}}function playerInterface(){var e=$$("#kmeni_container");var d=$$("#kmeni_container .int");var c=$$("#kmeni_player");var b=$$("#kmeni_shader");var a=document.getElementById("blocker");d[1].addEvent("click",function(g){g.preventDefault();var f=new Fx.Elements([c[0],b[0]],{duration:500});if(playobject.minimized){f.start({"0":{height:250,width:375},"1":{opacity:[0,1]}});d[1].className="int min";a.style.display="block";playobject.minimized=false}else{f.start({"0":{height:0,width:0},"1":{opacity:[1,0]}});d[1].className="int max";a.style.display="none";playobject.minimized=true}playobject.active=true});d[2].addEvent("click",function(f){f.preventDefault();closePlayer();e.setStyle("display","none");b.setStyle("display","none");b.setStyle("opacity","0");a.style.display="none";playobject.minimized=false});d[0].addEvent("click",function(f){f.preventDefault();playobject.disabled=true;if(playobject.nid==""){generate_player_page(playobject.link,playobject.imebenda,playobject.title,playobject.slika)}else{generate_player_page(playobject.nid)}closePlayer();e.setStyle("display","none");b.setStyle("display","none");b.setStyle("opacity","0");a.style.display="none";playobject.minimized=false})}function closePlayer(){var a=document.getElementById("kmeni_player").style;a.display="none";$("media").innerHTML="";a.width="0";a.height="0";a.visibility="visible";$$("#kmeni_container").setStyle("display","none");playobject.active=false}function pleya(d){var b=document.getElementById(d);childNode=(!b.childNodes[2])?0:1;b.childNodes[childNode].style.left=30+"px";var c=b.childNodes[childNode].offsetLeft;var a=b.childNodes[childNode].offsetWidth-b.offsetWidth;clearTimeout(playobject.nsTimeout);if(a>0){pleya_move(c,c,-a,b)}}function pleya_move(a,e,b,c,d){childNode=(!c.childNodes[2])?0:1;if(d==1){a=(a>b)?a-2:b;d=(a>b)?1:2}else{a=(a<e)?a+2:e;d=(a<e)?2:1}c.childNodes[childNode].style.left=a+"px";playobject.nsTimeout=setTimeout(function(){pleya_move(a,e,b,c,d)},60)}function move(e,b){var d=document.getElementById(e).style;var f=parseInt(d.marginTop)+b;var c=document.getElementById(e+"-container").offsetHeight;var a=document.getElementById(e).offsetHeight;if(f<c-a+2){f=c-a+2}if(f>0){f=0}d.marginTop=f+"px"}function slidevids(c,a,b){if(typeof(b)=="undefined"){b=true}if(typeof(tab_slide)!="undefined"&&b){clearInterval(tab_slide)}stop();scroll_slide=setInterval("move('"+c+"-list',"+(a*5)+")",1)}function stop(){if(scroll_slide){clearInterval(scroll_slide)}}function paint_titles(){var a=(IE)?0:1;var b=getElementsByClassName("col1",document.getElementById("content"));var c=getElementsByClassName("block",b[0]);if(c[0]){c[0].childNodes[a].style.backgroundPosition="-117px -325px"}if(c[1]){if(c[1].childNodes[a]){c[1].childNodes[a].style.backgroundPosition="-117px -346px"}}if(c[2]){c[2].childNodes[a].style.backgroundPosition="-117px -304px"}}function tabControl(c){var b=getElementsByClassName("tab",document.getElementById("widget"+c));var a=0;while(b[a]){b[a].onclick=function(g){try{this.removeAttributeNode(this.getAttributeNode("href"))}catch(g){}var d=0;var f=getElementsByClassName("tab",document.getElementById("widget"+c));while(f[d]){f[d].className="tab";d++}this.className="tab active";$("widget_pages"+c).set({html:'<div style="margin:100px;text-align:center"><img style="float: none;" src="/themes/myexit/images/loading'+((c==2)?"t":"")+'.gif" /></div>'});update("GET","http://"+document.domain+"/widget_pages/"+c+"/"+this.id.split("-")[2],"tabSwitchAftermath","");processed_widget=c;this.blur();return false};a++}}function tabSwitchAftermath(c,b,a){document.getElementById("widget_pages"+processed_widget).innerHTML=a;if(processed_widget==2){w2controls()}if(processed_widget==3){w3controls()}if(processed_widget==1){$$(".sliderblock .list li a").addEvent("click",function(d){d.preventDefault()})}}function w2SubmenuSwitchAftermath(c,b,a){document.getElementById("w2p2content").innerHTML=a;slider();w2controls2()}function w2SubcontentSwitchAftermath(c,b,a){document.getElementById("w2p2content2").innerHTML=a}function w2controls(){var els=$$("#widget_pages2 .w2p2menu1 a");els.addEvent("click",function(e){e.preventDefault()});for(var i=0;i<3;i++){eval("els["+i+'].onclick = function(e) {$("w2p2content").set({html: \'<div style="margin:100px;text-align:center"><img style="float: none;" src="/themes/myexit/images/loadingt.gif" /></div>\'});update("GET", "http://"+document.domain+"/widget_content_menus/'+(i+1)+'", "w2SubmenuSwitchAftermath", "");this.blur();}')}}function w2pager(b,a){$("w2p2content2").set({html:'<div style="margin:100px;text-align:center"><img style="float: none;" src="/themes/myexit/images/loadingt.gif" /></div>'});update("GET","http://"+document.domain+"/widget_content/"+a,"w2SubcontentSwitchAftermath","");b.blur()}function w2gpager(b,a){$("w2p2content2").set({html:'<div style="margin:100px;text-align:center"><img style="float: none;" src="/themes/myexit/images/loadingt.gif" /></div>'});update("GET","http://"+document.domain+"/widget_genres/"+a,"w2SubcontentSwitchAftermath","");b.blur()}function w2controls2(){var tip;if(document.getElementById("slider-outer").className=="w2p2content2sub2"){tip="az"}else{if(document.getElementById("slider-outer").className=="w2p2content2sub3"){tip="zanrovi"}else{return}}var els=$$("#widget_pages2 #slider-inner a");els.addEvent("click",function(e){e.preventDefault()});if(tip=="az"){var slova=Array("a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","1");for(var i=0;i<27;i++){eval("els["+i+'].onclick = function(e) {$("w2p2content2").set({html: \'<div style="margin:100px;text-align:center"><img style="float: none;" src="/themes/myexit/images/loadingt.gif" /></div>\'});update("GET", "http://"+document.domain+"/widget_content/'+slova[i]+'", "w2SubcontentSwitchAftermath", "");w2off();this.className="on";this.blur();}')}}else{for(var i=0;i<29;i++){eval("els["+i+'].onclick = function(e) {$("w2p2content2").set({html: \'<div style="margin:100px;text-align:center"><img style="float: none;" src="/themes/myexit/images/loadingt.gif" /></div>\'});update("GET", "http://"+document.domain+"/widget_genres/'+(i+1)+'", "w2SubcontentSwitchAftermath", "");w2off();this.className="on";this.blur();}')}}}function w2off(){var b=$$("#widget_pages2 #slider-inner a");var a=0;while(b[a]){b[a].className="";a++}}function w3controls(){for(var i=0;i<8;i++){eval("document.getElementById('w3t"+i+"').onmouseover = function() {var lit = $$('#widget3 .titles li');lit.removeClass('active');document.getElementById('w3t"+i+"').className='active';var lid = $$('#widget3 .data li');lid.removeClass('active');document.getElementById('w3d"+i+"').className='active';}")}}function popup_video(a){generate_player_page(a)}function change_teaser(a,b){$$(".musicvideo").load("/musicvideo/teaser/"+b);return false}function change_album(c){var b=0;var a;while(a=document.getElementById("album-"+b)){a.style.display="none";if(document.getElementById("albumlist-"+b)){document.getElementById("albumlist-"+b).style.backgroundColor="#FFFFFF"}b++}document.getElementById("album-"+c).style.display="block";document.getElementById("albumlist-"+c).style.backgroundColor="#DDDDDD";return false}function nothanks(c,b,a){}function content_counter(b,a){update("GET","http://"+document.domain+"/count","nothanks","nid="+b+"&part="+a)}var oldOnload=window.onload;window.onload=function(f){if(typeof oldOnload=="function"){oldOnload()}var d=document.getElementById("mzero").getElementsByTagName("a");var a=new MenuRevert();a.start();reset_login_fields();teach_login_fields();is_logged_in();reklamazachat();try{$$(".MooFlowieze").each(function(e){new MooFlow(e)});myMooFlowPage.start()}catch(f){}if(arg(0)=="comment"&&arg(1)=="edit"){document.getElementById("box").style.display="block"}shrinkImages();try{approveAjaxAutoAttach()}catch(f){}if(typeof homepage!="undefined"){lightup();playerInterface();tabControl(1);tabControl(2);tabControl(3);tabControl(4);w3controls();$$("#widget1 .sliderblock .list li a").addEvent("click",function(g){g.preventDefault()});$$("#widget1 .left a").addEvent("click",function(g){g.preventDefault()});$$(".musicvideo").set("load",{onComplete:function(){$$("#widget1 .left a").addEvent("click",function(g){g.preventDefault()})}})}else{paint_titles()}try{document.getElementById("iks").onclick=function(){blend("box",300,"out");setTimeout(function(){document.getElementById("box").style.display="none"},300)}}catch(f){}var b=getElementsByClassName("cmnt");for(var c=0;c<b.length;c++){b[c].onclick=function(){object=document.getElementById("box").style;object.opacity=0;object.MozOpacity=0;object.KhtmlOpacity=0;object.filter="alpha(opacity=0)";object.display="block";object=null;blend("box",300,"in")}}b=null;scroll_init()};
