/* ================================================ PVII Glide Panel Magic scripts Copyright (c) 2008 Project Seven Development www.projectseven.com Version: version 1.7.4 build: 1-07 ================================================ */ var p7GP=false,p7GPMi=false,p7GPMctl=[],p7gpmA=navigator.userAgent.toLowerCase(); function P7_setGPM(){ var i,h; if(!document.getElementById){ return; } h='\n\n'; h+='.p7GPW {overflow:hidden;}\n'; h+='.p7GPcontentwrapper {display:none}\n'; h+='.p7GPsidebar {display:none}\n'; for(i=1;i<21;i++){ h+="#p7GPc"+i+"_1 {display:block;}\n"; } h+=''; document.write(h); } P7_setGPM(); function P7_GPMaddLoad(){ if(!document.getElementById){ return; } if(window.addEventListener){ window.addEventListener("load",P7_initGPM,false); } else if(window.attachEvent){ window.attachEvent("onload",P7_initGPM); } else if(typeof window.onload=='function'){ var p7vloadit=onload; window.onload=function(){ p7vloadit(); P7_initGPM(); }; } else{ window.onload=P7_initGPM; } p7GPMi=true; } function P7_opGPM(){ var h='',hh,b,cn,sD,d,tB,cTD,mD; if(!document.getElementById){ return; } p7GPMctl[p7GPMctl.length]=arguments; if(!p7GPMi){ P7_GPMaddLoad(); } } function P7_initGPM(){ var i,j,tB,dd,tD,tA,tg,cP,dh; for(i=0;i-1){ tB.p7opt[2]=0; } dd=tB.id.replace("GP_","GPt_"); tD=document.getElementById(tB.id.replace("GP_","GPt_")); if(tD){ tA=tD.getElementsByTagName("A"); tg='p7GPtrg'; for(j=0;j0){ if(vP.p7gpmG){ clearTimeout(vP.p7gpmG); } } ch=vP.offsetHeight; vP.style.height=ch+"px"; for(i=0;i-1)){ tP.style.zoom="100%"; tP.style.filter='alpha(opacity='+op*100+')'; } else{ tP.style.opacity=op; } } tP.style.visiblity="visible"; if (pD.p7opt[5] == 1){ P7_GPMside(a,tP); } if(pD.p7opt[2]>0&&p7GP){ th=tP.offsetHeight; } else{ vP.style.height="auto"; } } } else{ if(tA[i].p7GPMc){ tA[i].className=''; tA[i].p7state="closed"; tP.style.display="none"; } } } } if(th>-1){ if(pD.p7opt[2]==3&&p7GP){ vP.style.height="auto"; P7_GPMfadeIn(cd,0.10); } else{ P7_GPMglide(vP.id,ch,th,pD.p7opt[2]); } } return m; } function P7_GPMside(a,d){ var i,tD,sb,tS; tD=d.getElementsByTagName("DIV"); if(tD&&tD.length>0){ for(i=0;i=th)?th:ch; } else{ ch=(ch<=th)?th:ch; } d.p7gpmG=setTimeout("P7_GPMglide('"+dd+"',"+ch+","+th+","+p+")",dy); } } function P7_GPMfadeIn(id,op){ var im,dy=30,lm=0.99,inc,d=document.getElementById(id); inc=(window.opera)?0.15:0.10; op=(op>=lm)?lm:op; if((navigator.appVersion.indexOf("MSIE")>-1)){ d.style.filter='alpha(opacity='+op*100+')'; } else{ d.style.opacity=op; } if(op