/*======================================================================*\
|| #################################################################### ||
|| # vBulletin 4.0.1
|| # ---------------------------------------------------------------- # ||
|| # Copyright ©2000-2010 vBulletin Solutions Inc. All Rights Reserved. ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
var ie5;if(document.all&&navigator.appVersion.charAt(navigator.appVersion.indexOf("MSIE")+5)>=5&&navigator.userAgent.toLowerCase().indexOf("opera")==-1){ie5=true}else{ie5=false}var pd=new Array();var pn=new Array();var pu=new Array();var imgStringCache=new Array();var imgCache=new Array();if(document.dir=="rtl"){imgCache={I:'<img src="'+imgdir_misc+'/tree_ir.gif" alt="" />',L:'<img src="'+imgdir_misc+'/tree_rtl.gif" alt="" />',T:'<img src="'+imgdir_misc+'/tree_tr.gif" alt="" />'}}else{imgCache={I:'<img src="'+imgdir_misc+'/tree_i.gif" alt="" />',L:'<img src="'+imgdir_misc+'/tree_ltr.gif" alt="" />',T:'<img src="'+imgdir_misc+'/tree_t.gif" alt="" />'}}function showPrevNextPost(A){info=pn[curpostid].split(",");showPost(info[A])}function setQRpostid(A){if(quickreply){fetch_object("qr_postid").value=A}}function navToPost(B,A){if(B!=0&&!A){window.location="showthread.php?"+SESSIONURL+"p="+B+"#poststop"}}function showPost(C,A){if(typeof pd[C]!="undefined"){try{if(quickreply){fetch_object("qr_postid").value=C}fetch_object("link"+curpostid).style.fontWeight="normal";fetch_object("div"+curpostid).className="alt1";fetch_object("link"+C).style.fontWeight="bold";fetch_object("div"+C).className="alt2";try{fetch_object("links").scrollIntoView(true)}catch(B){}fetch_object("posts").innerHTML=pd[C];PostBit_Init(fetch_object("post"+C),C);FIRSTPOSTID=C;LASTPOSTID=C}catch(B){navToPost(C,A)}}else{navToPost(C,A)}curpostid=C;return false}function writeLink(A,G,F,E,C,J,I,K,H,B){if(A==curpostid||H){bgclass="alt2"}else{bgclass="alt1"}document.write('<div class="'+bgclass+'" id="div'+A+'">');if(!imgStringCache[C]){imgStringCache[C]="";imgArray=C.split(",");for(var D in imgArray){if(!YAHOO.lang.hasOwnProperty(imgArray,D)){continue}curType=imgArray[D];if(isNaN(curType)){imgStringCache[C]+=imgCache[curType]}else{imgStringCache[C]+='<img src="'+cleargifurl+'" width="'+(curType*20)+'" height="20" alt="" />'}}}document.write(imgStringCache[C]);if(G==1){statusicon="new"}else{statusicon="old"}document.write('<img src="'+imgdir_statusicon+"/post_"+statusicon+'.gif" alt="" /> ');if(I=="more"){document.write('<a href="'+B+'" id="link'+A+'"><i>'+morephrase+"</i></a></div>\n")}else{if(F==1){document.write('<img src="'+imgdir_misc+'/paperclip.gif" alt="PaperClip" title="Attachment" /> ')}if(typeof pu[E]!="undefined"){document.write(pu[E].bold()+" ")}else{document.write(guestphrase+" ")}if(A==curpostid){titlestyle=' style="font-weight:bold;"'}else{titlestyle=""}document.write('<a href="'+B+'" onclick="return showPost('+A+')" id="link'+A+'"'+titlestyle+">"+J+"</a> ");if(ie5&&typeof pd[A]!="undefined"){iscached="."}else{iscached=""}document.write(I+', <span class="time">'+K+iscached+"</span>");document.write("</div>\n")}};