var version_shared="0.2";var mozilla=document.getElementById&&!document.all;var ie=document.all;var global_sbox=null;var base_url="http://www.kafic.net";function nl2br(A){breakTag="<br />";return(A+"").replace(/([^>]?)\n/g,"$1"+breakTag+"\n")}var style_css;function set_theme(A){var B=A.innerHTML;switch_select(A);if(style_css){deleteNode("theme")}if(kafic_if.document.getElementById("theme")){deleteNode("theme",1)}el=new Asset.css("/styles/themes/"+B+".css",{id:"theme"});kafic_if.document.head.appendChild(el.cloneNode(true));style_css=$("theme");createCookie("theme_color",B,20)}function addClass(B,A){if(!this.hasClass(B,A)){B.className+=" "+A}}function removeClass(C,A){if(hasClass(C,A)){var B=new RegExp("(\\s|^)"+A+"(\\s|$)");C.className=C.className.replace(B," ")}}function hasClass(B,A){return B.className.match(new RegExp("(\\s|^)"+A+"(\\s|$)"))}function switch_select(B){var C=B.parentNode;for(var A=0;C.childNodes[A];A++){if(C.childNodes[A].className){if(C.childNodes[A]==B){addClass(C.childNodes[A],"current_option")}else{removeClass(C.childNodes[A],"current_option")}}}}function tab_switch(A,B){tab=document.getElementById("tab"+A);while(document.getElementById("tab"+B)){if(B==A){tab.setAttribute("class","selected");document.getElementById("tab_"+B).style.display=""}else{document.getElementById("tab"+B).setAttribute("class","");document.getElementById("tab_"+B).style.display="none"}B++}parent.iFrameSize()}function new_msg_check(A,B){if(document.getElementById(A)){last_id=document.getElementById(A).firstChild.id;fetch_url=B+last_id;get(fetch_url,A);window.setTimeout("new_msg_check('"+A+"', '"+B+"')",2000)}}var s=null;function toggle_id(B,A){if(A!=null){document.getElementById(B).style.visibility=A}else{document.getElementById(B).style.visibility=(document.getElementById(B).style.visibility=="visible")?"hidden":"visible"}}function copy_content(A,B){document.getElementById(B).innerHTML=document.getElementById(A).innerHTML;document.getElementById(B).style.visibility="visible"}function toggle_display_id(A){document.getElementById(A).style.display=(document.getElementById(A).style.display==""||document.getElementById(A).style.display=="none")?"block":"none";if(document.getElementById("main-iframe")){parent.iFrameSize()}}function toggle_id_nb(A){document.getElementById(A).style.display=(document.getElementById(A).style.display=="")?"none":"";if(document.getElementById("main-iframe")){parent.iFrameSize()}}function bbcode_2_html(){replace_me(/\n/gi,"");replace_me(/\[b\]/gi,"<strong>");replace_me(/\[\/b\]/gi,"</strong>");replace_me(/\[s\]/gi,"<strike>");replace_me(/\[\/s\]/gi,"</strike>");replace_me(/\[i\]/gi,"<em>");replace_me(/\[\/i\]/gi,"</em>");replace_me(/\[u\]/gi,"<u>");replace_me(/\[\/u\]/gi,"</u>");replace_me(/\[url\](.*?)\[\/url\]/gi,'<a href="'+base_url+'/$1" target="kafic_if">$1</a>');replace_me(/\[url=(.*?)\](.*?)\[\/url\]/gi,'<a href="'+base_url+'/$1" target="kafic_if">$2</a>');replace_me(/\[popup\](.*?)\[\/popup\]/gi,'<a href="'+base_url+'/$1" onclick="pop();" target="vote_pop">$1</a>');replace_me(/\[popup=(.*?)\](.*?)\[\/popup\]/gi,'<a href="'+base_url+'/$1" onclick="pop();" target="vote_pop">$2</a>');replace_me(/\[style=(.*?)\](.*?)\[\/style\]/gi,'<span style="$1">$2</span>');replace_me(/\[color=(.*?)\](.*?)\[\/color\]/gi,'<font color="$1">$2</font>');return s}function replace_url(){if(arguments[1].indexOf(base_url+"/")>=0){arguments[1]=arguments[1].replace(base_url+"/","")}if(arguments[1]!=arguments[2]){var A=(arguments[2].length>15)?arguments[2].substr(0,15)+"...":arguments[2];if(arguments[0].indexOf("kafic_if")>=0){return"[url="+arguments[1]+"]"+A+"[/url]"}else{return"[popup="+arguments[1]+"]"+A+"[/popup]"}}else{if(arguments[0].indexOf("kafic_if")>=0){return"[url]"+arguments[1]+"[/url]"}else{return"[popup]"+arguments[1]+"[/popup]"}}}function create_url(){var A=(arguments[2].length>15)?arguments[2].substr(0,15)+"...":arguments[2];return'<a href="'+base_url+"/"+arguments[1]+'">'+A+"</a>"}function bbcode_me(){replace_me(/<a href=\"(.*?)\".*?target=\"kafic_if\".*?>(.*?)<\/a>/gi,replace_url);replace_me(/<a href=\"(.*?)\".*?target=\"vote_pop\".*?>(.*?)<\/a>/gi,replace_url);replace_me(/<a href=\"(.*?)\".*?target=\"_blank\".*?>(.*?)<\/a>/gi,replace_url);replace_me(/<a href=\"(.*?)\".*?>(.*?)<\/a>/gi,replace_url);replace_me(/<div.*?align=\"(.*?)\".*?>(.*?)<\/div>/gi,"[align=$1]$2[/align]");replace_me(/<object.*?width: (.*?)px.*?height:(.*?)px.*?data=\"(.*?)\".*?\<\/object>/gi,"[youtube=$1x$2]$3[/youtube]");replace_me(/<img.*?src=\"(.*?)\".*?alt=\"(.*?)\".*?width=\"(.*?)\".*?height=\"(.*?)\".*?>/gi,"[img=$3x$4x$2]$1[/img]");replace_me(/<img.*?src=\"(.*?)\".*?\/>/gi,"[img]$1[/img]");replace_me(/<span.*?style=\"(.*?)\".*?>(.*?)<\/span>/gi,"[style=$1]$2[/style]");replace_me(/<\/(strong|b)>/gi,"[/b]");replace_me(/<(strong|b)>/gi,"[b]");replace_me(/<\/ul>/gi,"[/list]");replace_me(/<ul>/gi,"[list]");replace_me(/<\/sup>/gi,"[/sup]");replace_me(/<sup>/gi,"[sup]");replace_me(/<\/sub>/gi,"[/sub]");replace_me(/<sub>/gi,"[sub]");replace_me(/<\/strike>/gi,"[/s]");replace_me(/<strike>/gi,"[s]");replace_me(/<\/(em|i)>/gi,"[/i]");replace_me(/<(em|i)>/gi,"[i]");replace_me(/<\/pre>/gi,"[/pre]");replace_me(/<pre>/gi,"[pre]");replace_me(/<\/u>/gi,"[/u]");replace_me(/<u>/gi,"[u]");replace_me(/<li.*?>(.*?)<\/li>/gi,"[*]$1[/*]");replace_me(/<br \/>/gi,"\n");replace_me(/<br\/>/gi,"\n");replace_me(/<br>/gi,"\n");replace_me(/<p>/gi,"");replace_me(/<\/p>/gi,"\n");replace_me(/ /gi," ");replace_me(/"/gi,'"');replace_me(/</gi,"<");replace_me(/>/gi,">");replace_me(/&/gi,"&");replace_me(/&undefined;/gi,"'");return s}function replace_me(A,B){s=s.replace(A,B)}function highlight(A){A.focus();A.select()}function setVertColor(F){var E=256/6,A=256/E,B=F,D=B%E;baseColor={r:parseInt(B<E?255:B<E*2?255-D*A:B<E*4?0:B<E*5?D*A:255),g:parseInt(B<E*2?0:B<E*3?D*A:B<E*5?255:255-D*A),b:parseInt(B<E?D*A:B<E*3?255:B<E*4?255-D*A:0)};document.getElementById("color").style.backgroundColor="rgb("+baseColor.r+","+baseColor.g+","+baseColor.b+")"}function setGradientColor(){var C=Math.round((1-(1-(baseColor.r/255))*(lastValues[0]/255))*(255-lastValues[1]));var B=Math.round((1-(1-(baseColor.g/255))*(lastValues[0]/255))*(255-lastValues[1]));var A=Math.round((1-(1-(baseColor.b/255))*(lastValues[0]/255))*(255-lastValues[1]));document.getElementById("colorCurrent").style.backgroundColor="rgb("+C+","+B+","+A+")";document.getElementById("hex").value=(toHex(C)+toHex(B)+toHex(A)).toUpperCase();currentColor={r:C,g:B,b:A}}function toHex(A){A=parseInt(A).toString(16);return A.length<2?"0"+A:A}var pop_win=null;function pop(B){var D=Math.floor((screen.width-780)/2);var C=Math.floor((screen.height-700)/2);var A="top="+C+",left="+D+",height=700,width=780,scrollbars=yes,toolbar=no,resizable=no";switch(B){case"1":pop_win=window.open("","image_pop",A);break;case 2:A="top="+C+",left="+D+",height=200,width=500,scrollbars=no,toolbar=no,resizable=no";pop_win=window.open("","radio_pop",A);break;default:pop_win=window.open("","vote_pop",A);break}pop_win.focus()}var pop_win_user=null;function pop_user(){var C=Math.floor((screen.width-700)/2);var B=Math.floor((screen.height-780)/2);var A="top="+B+",left="+C+",height=700,width=780,scrollbars=yes,toolbar=no,resizable=no";pop_win_user=window.open("","user_popup",A);pop_win_user.focus()}function pop_mg(){var C=0;var B=0;var A="top="+B+",left="+C+",height="+screen.height+",width="+screen.width+",scrollbars=yes,toolbar=yes,resizable=yes,menubar=yes";pop_mg=window.open("","pop_mg",A);pop_mg.focus()}function pop_default(B){var D=Math.floor((screen.width-700)/2);var C=Math.floor((screen.height-700)/2);var A="top="+C+",left="+D+",height=700,width=700,scrollbars=yes,toolbar=no,resizable=no";pop_def=window.open(B,"default",A);pop_def.focus()}function click_clear(A,B){if(A.value){if(A.value==B){A.value=""}else{if(A.innerHTML==B){A.innerHTML=""}}}}function FlashWrite(C,H,D,A,E,B,F,G){if(typeof (G)=="undefined"){G="8"}if(typeof (B)=="undefined"){B={}}if(typeof (F)=="undefined"){F={};F.allowScriptAccess="always";F.allowfullscreen="true";F.wmode="transparent";F.bgcolor="#ffffff"}if(D==0){D="425"}if(A==0){A="350"}if(E==1){if(C.match(/youtube\.com/i)){C+="&autoplay=1&rel=1&loop=1"}B.autoPlay="1"}swfobject.embedSWF(C,H,D,A,G,"/js/swfobject/expressInstall.swf",B,F)}function select_all(A){var D=document.getElementById(A).elements;for(var C=0;C<D.length;C++){var B=D[C];B.checked=true}}function add_vote(B,C,D,A){get("/voting/add_vote/"+B+"/"+C+"/"+D,A)}function add_a_vote(A,B){get("/voting/add_vote/"+A+"/"+B,"popup_vote")}function confirm_dialog(B){var A=confirm(B);if(A){return true}else{return false}}function confirm_ajax_dialog(A,B,D){var C=confirm(D);if(C){get(A,B)}else{return false}}function confirm_form_dialog(A,C){var B=confirm(C);if(B){document.getElementById(A).submit()}else{return false}}function confirm_location_dialog(A,C){var B=confirm(C);if(B){location.href=A}else{return false}}function focused(A){A.className="input-focus"}function blured(A){A.className="input-blur"}function deleteNode(A,B){if(B==1){A=parent.kafic_if.document.getElementById(A)}else{if(document.getElementById(A)){A=document.getElementById(A)}else{A=parent.kafic_if.document.getElementById(A)}}A.parentNode.removeChild(A)}function smilie_box(A,D,C,B){if(A.length>0){if(parent.top.document.getElementById("smilie_codes_0").innerHTML.substring(0,2)==":)"){smilie_box_init()}if(B==1){parent.document.getElementById("smilie_packs").style.display=""}else{parent.document.getElementById("smilie_packs").style.display="none";smilie_pack(0)}parent.showmenu(D,"smilie_box",A,C)}else{parent.document.getElementById("smilie_box").style.display="none"}}var last_s_pack="0";function smilie_pack(A){if(!parent.document.getElementById("smilie_codes_"+A)){kafic_if.document.location.href="/profile/vip"}else{if(last_s_pack!=A){if(parent.document.getElementById("smilie_codes_"+A).innerHTML.indexOf("<img")<0){unpack_smilies(A)}document.getElementById("smilies_"+last_s_pack).style.display="none";document.getElementById("smilies_"+A).style.display="";last_s_pack=A}}}function unpack_smilies(B){myPack=document.getElementById("smilie_codes_"+B).innerHTML;pack_Array=myPack.split(",");var C="";for(var A=0;pack_Array[A];A++){C+="<img class='link_cursor' onclick='parent.smilie_insert(this.alt)' title=':"+pack_Array[A]+":' alt=':"+pack_Array[A]+":' src='/gfx/smilies/pack/"+B+"/"+pack_Array[A]+".gif' />  "}document.getElementById("smilie_codes_"+B).innerHTML=C}function smiliesArr(){var A=new Array();A[0]="(pazi!)^attack.gif";A[1]=":-)^smile.gif";A[2]=":)^smile.gif";A[3]=":(^sad.gif";A[4]=":-(^sad.gif";A[5]=":-d^biggrin.gif";A[6]=":d^biggrin.gif";A[7]=":-$^blush.gif";A[8]=":$^blush.gif";A[9]=";)^wink.gif";A[10]=";-)^wink.gif";A[11]=":-.^boogie.gif";A[12]=":p^tongue.gif";A[13]=":-p^tongue.gif";A[14]=":-e^eek.gif";A[15]=":*(^cry.gif";A[16]=":[^cry.gif";A[17]="(l)^heart.gif";A[18]="(hihi)^giggle.gif";A[19]="(kisa)^rain.gif";A[20]=":o^noway.gif";A[21]="!!.^angry.gif";A[22]="(hajde)^common.gif";A[23]="(haha)^laugh.gif";A[24]="(muahaha)^evil.gif";A[25]=":-o^noway.gif";A[26]="(!!?)^angry.gif";A[27]="(k)^kiss.gif";A[28]="(666)^devil.png";A[29]="(d)^devil.gif";A[30]="8-)^cool.gif";A[31]="(pfft)^fart.gif";A[32]="(zzz)^sleep.gif";A[33]="(ups)^oops.gif";A[34]="(ideja)^idea.gif";A[35]="(grlim)^hug.gif";A[36]=":-?^fart.gif";A[37]="(caps)^caps.gif";A[38]="(jooj)^rawr.gif";A[39]="(pivo)^beer.png";A[40]="(cola)^cola.png";A[41]="(c)^coffee.png";A[42]="(ml)^milk.png";A[43]="(gusti)^juice.png";A[44]="(lol)^lol.gif";A[45]="(omg)^omg.gif";A[46]="(dar)^present.gif";A[47]="(fuj)^puke.gif";A[48]="(wtf)^wtf.gif";A[49]="(prvak)^number1.gif";A[50]="(d)^dance.gif";A[51]="(y)^thumbsup.gif";A[52]="(n)^thumbsdown.gif";A[53]=":-9^tongeup.gif";A[54]="(mp)^phone.gif";A[55]="(tralala)^drunk-friends.gif";A[56]="(banni)^banana.gif";A[57]="(f)^flower.gif";A[58]="(pusa)^love.gif";A[59]=":-s^confused.gif";A[60]=":s^confused.gif";A[61]="(tel)^mobile.gif";A[62]=":-x^xsmile.gif";A[63]="(mm)^monkey.gif";return A}function smilie_box_init(){var H=new Array();H=smiliesArr();var C,B,G,J,E,F=1;var I=parent.top.document.getElementById("smilie_codes_0").innerHTML;var A=I.toLowerCase();for(var D=0;D<H.length;D++){J=H[D].split("^");G=J[0];E=J[1];while(A.indexOf(G)>=0&&F<100){var C=A.indexOf(G);var B=G.length;A=A.substr(0,C)+"<img id='smilies_"+F+"' onclick='parent.smilie_insert(this.alt);' class='link_cursor' title='"+escape(G)+"' alt='"+escape(G)+"' src='/gfx/smilies/"+E+"' />"+A.substr(C+B);I=I.substr(0,C)+"<img id='smilies_"+F+"' onclick='parent.smilie_insert(this.alt);' class='link_cursor' title='"+escape(G)+"' alt='"+escape(G)+"' src='/gfx/smilies/"+E+"' />"+I.substr(C+B);F++}}parent.document.getElementById("smilie_codes_0").innerHTML=unescape(I)}function smilie_list_show(B){var I=new Array();I=smiliesArr();global_sbox=B;var D,C,H,K,F,G=1;var J=document.getElementById("smilie_codes_show").innerHTML;var A=J.toLowerCase();for(var E=0;E<I.length;E++){K=I[E].split("^");H=K[0];F=K[1];while(A.indexOf(H)>=0&&G<100){var D=A.indexOf(H);var C=H.length;A=A.substr(0,D)+"<img id='smilies_"+G+"' class='link_cursor' title='"+escape(H)+"' alt='"+escape(H)+"' src='/gfx/smilies/"+F+"' />"+A.substr(D+C);J=J.substr(0,D)+"<img id='smilies_"+G+"' class='link_cursor' title='"+escape(H)+"' alt='"+escape(H)+"' src='/gfx/smilies/"+F+"' />"+J.substr(D+C);G++}}document.getElementById("smilie_codes_show").innerHTML=unescape(J);for(E=1;E<G;E++){document.getElementById("smilies_"+E).onclick=function(){smilie_show_insert(this.alt)}}}function smilie_show_insert(A){$(global_sbox).value=$(global_sbox).value+unescape(A)}function Smile(J){var I=new Array();I=smiliesArr();var C,B,H,K,E,F=0;var G=J;var A=G.toLowerCase();for(var D=0;D<I.length;D++){K=I[D].split("^");H=K[0];E=K[1];while(A.indexOf(H)>=0&&F<100){var C=A.indexOf(H);var B=H.length;A=A.substr(0,C)+"<img title='"+escape(H)+"' align='absmiddle' alt='"+escape(H)+"' src='/gfx/smilies/"+E+"' />"+A.substr(C+B);G=G.substr(0,C)+"<img title='"+escape(H)+"' align='absmiddle' alt='"+escape(H)+"' src='/gfx/smilies/"+E+"' />"+G.substr(C+B);F++}}return unescape(G)}var crop_timeout=null;function crop_input(B,D,C){if(crop_timeout==null){var A=B.value;if(document.getElementById(D)){if(A.length<C){document.getElementById(D).innerHTML=C-A.length}else{document.getElementById(D).innerHTML=C-A.length}}else{if(document.getElementById(B.id+"_crop")){if(A.length<C){document.getElementById(B.id+"_crop").innerHTML=C-A.length}else{document.getElementById(B.id+"_crop").innerHTML=C-A.length}}}if(A.length>(C+100)){B.value=A.substr(0,C+100)}crop_timeout=window.setTimeout("crop_timeout_end();",1000)}}function crop_timeout_end(){crop_timeout=null}function createCookie(C,D,E){if(E){var B=new Date();B.setTime(B.getTime()+(E*24*60*60*1000));var A="; expires="+B.toGMTString()}else{var A=""}document.cookie=C+"="+D+A+"; path=/"}function readCookie(B){var D=B+"=";var A=document.cookie.split(";");for(var C=0;C<A.length;C++){var E=A[C];while(E.charAt(0)==" "){E=E.substring(1,E.length)}if(E.indexOf(D)==0){return E.substring(D.length,E.length)}}return null}function eraseCookie(A){createCookie(A,"",-1)}function getOffsetLeft(B){var A=B.offsetLeft;while((B=B.offsetParent)!=null){A+=B.offsetLeft}return A}function getOffsetTop(A){var B=A.offsetTop;while((A=A.offsetParent)!=null){B+=A.offsetTop}return B}function set_at_mouse_pos(G,F,E,C,B){if(B=="contact_list"){var D=100;var A=0}else{var D=getOffsetLeft(document.getElementById("kafic_if"));var A=getOffsetTop(document.getElementById("kafic_if"))}F.style.left=D+G.clientX+E+"px";F.style.top=A+G.clientY-C+"px"}function context_show(D,B,C,A){if(A==1){is_iframe=1;get("/context_menu/"+C,"context_menu",1)}else{get("/context_menu/"+C,"context_menu")}showmenu(D,B)}function showmenu(E,C,F,D){menuobj=document.getElementById(C);if(C=="smilie_box"){global_sbox=F;global_sbox_iframe=D}document.getElementById(C).style.display="block";if(is_iframe){var B=getOffsetLeft(parent.document.getElementById("kafic_if"));var A=getOffsetTop(parent.document.getElementById("kafic_if"));menuobj.style.left=E.clientX-160+"px";menuobj.style.top=E.clientY-15+"px"}else{menuobj.style.top=(document.body.clientHeight/2)-(document.getElementById(C).clientHeight/2)+"px";menuobj.style.left=(document.body.clientWidth/2)-(document.getElementById(C).clientWidth/2)+"px"}}function hidemenu(A){document.getElementById(A).style.display="none"}function menu_mouseover(A){if(timeout!=null){clearTimeout(timeout)}timeout=null}function menu_mouseout(A){if(timeout==null){timeout=window.setTimeout("hidemenu('"+A.id+"')",200)}}function browse_comments(C,E,F){pageCurrent=F;document.getElementById("paginator_loading").style.display="";var B=document.getElementById("paginator").getElementsByTagName("tr")[0];var A=B.getElementsByTagName("td");for(var D=0;D<A.length;D++){if(F==A[D].firstChild.firstChild.innerHTML){addClass(A[D].firstChild.firstChild,"current")}else{removeClass(A[D].firstChild.firstChild,"current")}}set_me(C,E)}var paginatorHolderId=pagesTotal=pagesSpan=pageCurrent=baseUrl=tdsPages=ajax_return_id=null;function Paginator(C,M,F,B,J,A){if(!document.getElementById(C)||!M||!F){return false}if(A!=null){ajax_return_id=A}paginatorHolderId=C;pagesSpan=F;pagesTotal=M;pageCurrent=B;baseUrl=J;pagesSpan=pagesSpan<pagesTotal?pagesSpan:pagesTotal;var I=(100/pagesSpan)+"%";var L=pageCurrent-(Math.round(pagesSpan/2)-1);if(L<=0){E=1}else{E=L}var H='<table id="paginator"><tr>';for(var E=1;E<=pagesSpan;E++){H+='<td width="'+I+'">'+E+"</td>"}H+='</tr><tr><td colspan="'+pagesSpan+'"><div id="scroll_bar"><div id="scroll_trough"></div><div id="scroll_thumb"><div id="scroll_knob"></div></div><div class="current_page_mark"></div></div></td></tr></table>';document.getElementById(paginatorHolderId).innerHTML=H;if(pagesSpan==pagesTotal){addClass(document.getElementById(paginatorHolderId),"fullsize")}var D=document.getElementById("scroll_thumb");D.style.width=pagesSpan/pagesTotal*100+"%";var K=D.offsetWidth;if(K<8){D.style.width="8px"}var G=new Slider($("scroll_trough"),$("scroll_thumb"),{range:[1,(pagesTotal-Math.round(pagesSpan/2)-5)],onChange:function(N){update_paginator(N)}}).set(pageCurrent)}function update_paginator(F){var B=document.getElementById("paginator").getElementsByTagName("tr")[0];var A=B.getElementsByTagName("td");var E=0;var D="";switch(paginatorHolderId){case"paginator_ajax":for(var C=0;C<A.length&&E<pagesTotal;C++){E=F+C;if(E==pageCurrent){A[C].innerHTML="<span><a class='current' href='javascript:;' onclick=\"browse_comments('"+baseUrl+E+"', '"+ajax_return_id+"', '"+E+"');\">"+E+"</a></span>"}else{A[C].innerHTML="<span><a href='javascript:;' onclick=\"browse_comments('"+baseUrl+E+"', '"+ajax_return_id+"', '"+E+"');\">"+E+"</a></span>"}}break;case"paginator_get":for(var C=0;C<A.length&&E<pagesTotal;C++){E=F+C;if(E==pageCurrent){A[C].innerHTML="<span><a class='current' href='"+baseUrl+"&page="+E+"'>"+E+"</a></span>"}else{A[C].innerHTML="<span><a href='"+baseUrl+"&page="+E+"'>"+E+"</a></span>"}}break;case"paginator_normal":for(var C=0;C<A.length&&E<pagesTotal;C++){E=F+C;if(E==pageCurrent){A[C].innerHTML="<span><a class='current' href='"+baseUrl+E+"'>"+E+"</a></span>"}else{A[C].innerHTML="<span><a href='"+baseUrl+E+"'>"+E+"</a></span>"}}break}};