var tabmenu={disabletablinks:false,snap2original:[false,0],currentpageurl:window.location.href.replace("http://"+window.location.hostname,"").replace(/^\//,""),definemenu:function(tabid,dselected){this[tabid+"-menuitems"]=null this[tabid+"-dselected"]=-1 this.addEvent(window,function(){tabmenu.init(tabid,dselected)},"load")},showsubmenu:function(tabid,targetitem){var menuitems=this[tabid+"-menuitems"] this.clearrevert2default(tabid) for(i=0;i');} function ShowAdvert(){document.getElementById('containerdiv').innerHTML='';document.getElementById('containerdiv').style.visibility='visible';} function HideAdvert(){parent.document.getElementById('containerdiv').style.visibility='hidden';} function bi(x){if(x=='pp'){document.getElementById('PeopleL').style.backgroundPosition="0 -214px";document.getElementById('PeopleR').style.backgroundPosition="-648px -214px";} else if(x=='pi'){document.getElementById('PicsL').style.backgroundPosition="0 -262px";document.getElementById('PicsR').style.backgroundPosition="-648px -262px";} else if(x=='vi'){document.getElementById('VideosL').style.backgroundPosition="0 -120px";document.getElementById('VideosR').style.backgroundPosition="-648px -120px";} else if(x=='si'){document.getElementById('SitesL').style.backgroundPosition="0 -24px";document.getElementById('SitesR').style.backgroundPosition="-648px -24px";} else if(x=='bl'){document.getElementById('BlogsL').style.backgroundPosition="0 -72px";document.getElementById('BlogsR').style.backgroundPosition="-648px -72px";} else if(x=='ch'){document.getElementById('ChatL').style.backgroundPosition="0 -167px";document.getElementById('ChatR').style.backgroundPosition="-648px -167px";}} function bo(i){if(i=='pp'){document.getElementById('PeopleL').style.backgroundPosition="0 -191px";document.getElementById('PeopleR').style.backgroundPosition="-648px -191px";} else if(i=='pi'){document.getElementById('PicsL').style.backgroundPosition="0 -238px";document.getElementById('PicsR').style.backgroundPosition="-648px -238px";} else if(i=='vi'){document.getElementById('VideosL').style.backgroundPosition="0 -96px";document.getElementById('VideosR').style.backgroundPosition="-648px -96px";} else if(i=='si'){document.getElementById('SitesL').style.backgroundPosition="0 0";document.getElementById('SitesR').style.backgroundPosition="-648px 0";} else if(i=='bl'){document.getElementById('BlogsL').style.backgroundPosition="0 -48px";document.getElementById('BlogsR').style.backgroundPosition="-648px -48px";} else if(i=='ch'){document.getElementById('ChatL').style.backgroundPosition="0 -144px";document.getElementById('ChatR').style.backgroundPosition="-648px -144px";}} function ybi(a){document.getElementById(a+'L').style.backgroundPosition="-420px -310px";document.getElementById(a+'R').style.backgroundPosition="-614px -310px";} function ybo(a){document.getElementById(a+'L').style.backgroundPosition="-420px -340px";document.getElementById(a+'R').style.backgroundPosition="-614px -340px";} function gbi(a){document.getElementById('More'+a+'L').style.backgroundPosition="-529px -375px";document.getElementById('More'+a+'R').style.backgroundPosition="-650px -375px";} function gbo(a){document.getElementById('More'+a+'L').style.backgroundPosition="-529px -405px";document.getElementById('More'+a+'R').style.backgroundPosition="-650px -405px";} function pbi(){document.getElementById('PreviewL').style.backgroundPosition="-396px -401px";document.getElementById('PreviewR').style.backgroundPosition="-516px -401px";} function pbo(){document.getElementById('PreviewL').style.backgroundPosition="-396px -371px";document.getElementById('PreviewR').style.backgroundPosition="-516px -371px";} function openWindow(previewscripturl,urltoescape,name,x,y,width,height,params) {var win=null;name=name.replace(/ /g,"");if(navigator.appName.indexOf("Netscape")!=-1) {browser="n";} else {browser="e";} if(x>0) {if(browser=="n") {params+=",screenX="+x;} else {params+=",left="+x;}} if(y>0) {if(browser=="n") {params+=",screenY="+y;} else {params+=",top="+y;}} if(width>0) {if(browser=="n") {params+=",innerWidth="+width;} else {params+=",width="+width;}} if(height>0) {if(browser=="n") {params+=",innerHeight="+height;} else {params+=",height="+height;}} if(params.charAt(0)==",") {params=params.substring(1);} if(navigator.appName.indexOf("Opera")!=-1){params=params.replace(/scrollbars=no/,"scrollbars=yes");params=params.replace(/scrollbars=auto/,"scrollbars=yes");} win=window.open(previewscripturl+escape(urltoescape),name,params);win.focus();} function writeCode(frame,className,string){top.frames[frame].document.open();top.frames[frame].document.write('iframe');top.frames[frame].document.write(string);top.frames[frame].document.write('');top.frames[frame].document.close();document.getElementById(frame).style.display="block";} function getIEVersion() {var rv=-1;if(navigator.appName=='Microsoft Internet Explorer') {var ua=navigator.userAgent;var re=new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");if(re.exec(ua)!=null) rv=parseFloat(RegExp.$1);} return rv;}