/* ©2001 coolmaps.com - http://club.coolmaps.com - clubmaster@coolmaps.com */var SI_brwsr;if(document.all && parseInt(navigator.appVersion)>=4 && navigator.appVersion.indexOf("Mac")==-1) SI_brwsr=0;else if(document.layers && parseInt(navigator.appVersion)>=4) SI_brwsr=1;else if(navigator.userAgent.toLowerCase().indexOf("gecko") != -1) SI_brwsr=2;var itop;var right;var bottom;var left;switch(effect){case 0:itop=bannerHeight;right=bannerWidth;bottom=bannerHeight;left=0;break;case 1:itop=0;right=0;bottom=bannerHeight;left=0;break;case 2:itop=0;right=bannerWidth;bottom=0;left=0;break;case 3:itop=0;right=bannerWidth;bottom=bannerHeight;left=bannerWidth;break;case 4:itop=parseInt(bannerHeight/2);right=parseInt(bannerWidth/2);bottom=parseInt(bannerHeight/2);left=parseInt(bannerWidth/2);break;}var SIbottom;var scrollFast=(SI_brwsr==2)?parseInt(SIscroll*8):parseInt(SIscroll*4);var scrollSlow=(SI_brwsr==2)?parseInt(SIscroll*4):parseInt(SIscroll*1);var done=0;var verInc=(bannerHeight>bannerWidth)?parseInt((bannerHeight/bannerWidth)*expInc):expInc;var horInc=(bannerWidth>bannerHeight)?parseInt((bannerWidth/bannerHeight)*expInc):expInc;var startVisibility="hidden";var textScroll=scrollSlow;var scrollInterval=(SI_brwsr==1)?40:20;var scrollHeight=bannerHeight-40;var SIcut=scrollHeight;var expand=0;fontSize=(navigator.appVersion.indexOf("Mac")==-1)?fontSize:fontSize+2;var isMac=((navigator.appVersion.indexOf("Mac") != -1) || (navigator.appVersion.indexOf("PPC") != -1));var isMenu=0;var layerContent;if(SI_brwsr!=null){isMenu=1;layerContent='<div id="test" style="font-family:'+font+'; font-size:'+fontSize+'pt">';if(firstLine != "") layerContent+='<a style="text-decoration:none; color:'+firstLineColor+';">'+firstLine+'</a><br>';for(var i=0; i<pages.length; i++){if(urls[i] != "#") layerContent+='<a style="text-decoration:none; color:#'+fontColor+';" href="'+urls[i]+'">'+pages[i]+'</a><br>';else if(i != 0) layerContent+='<br><a style="text-decoration:none; color:#'+letterColor+'; font-size:'+(""+((fontSize-0)+2))+'pt;" href="'+urls[i]+'">'+pages[i]+'</a><br>';else layerContent+='<a style="text-decoration:none; color:#'+letterColor+'; font-size:'+(""+((fontSize-0)+2))+'pt;" href="'+urls[i]+'">'+pages[i]+'</a><br>';}layerContent+='</div>';var ss='<style type="text/css">';ss+='#outer{position:absolute;left:'+startX+';top:'+startY+';width:'+bannerWidth+'px;height: '+bannerHeight+'px;';ss+=(SI_brwsr==1)?'layer-background-color: '+bannerColor+';':'background-color: '+bannerColor+';';ss+='visibility:'+startVisibility+';z-index:451;}';ss+='#topbar{position:absolute;top:0;height:16;width:'+bannerWidth+'px;';ss+=(SI_brwsr==1)?'layer-background-color:'+outlineColor+';':'background-color:'+outlineColor+';';ss+='font-family:'+font+';';ss+=(isMac)?'font-size:12pt;':'font-size:10pt;';ss+='}';ss+='#banner{position:absolute;left:0;top:20;width:'+bannerWidth+'px;height:'+bannerHeight+'px;';ss+=(SI_brwsr)?'layer-background-color:'+bannerColor+';':'background-color:'+bannerColor+';';if(SI_brwsr==2) ss+='overflow:hidden;';ss+='}';ss+='#message{position:absolute;overflow:hidden;left:6;}';ss+='#bottombar{';ss+='position:absolute;top:'+(bannerHeight-16)+'px;height:16;width:'+bannerWidth+'px;';ss+=(SI_brwsr==1)?'layer-background-color:'+outlineColor+';':'background-color:'+outlineColor+';';ss+='}';ss+='</style>';document.write(ss);}function SIgetObj(r){switch(SI_brwsr){case 0:return eval(r);case 1:if(r=="message") return document.outer.document.banner.document.message;else if(r=="banner")return document.outer.document.banner;else if(r=="outer")return document.outer;case 2:return document.getElementById(r);}}function SIsetTop(r,a,b,c,d){var SIobj=SIgetObj(a);switch(SI_brwsr){case 0: case 2:if(b){if(c){SIobj.style.top=r+'px';SIcut=SIcut+d;SIobj.style.height=SIcut;}else{SIobj.style.top=r+'px';SIcut=SIbottom;SIobj.style.height=SIcut;}}else{if(c){SIobj.style.top=r+'px';SIcut=SIcut-d;SIobj.style.height=SIcut;}else{SIobj.style.top=r+'px';SIcut=scrollHeight;SIobj.style.height=SIcut;}}break;case 1: SIobj.top=r;break;}}function SIgetTop(a){var SIobj=SIgetObj(a);switch(SI_brwsr){case 0: return SIobj.offsetTop;case 1: return SIobj.top;case 2: return parseInt(SIobj.style.top);}}function SIgetHeight(a){var SIobj=SIgetObj(a);switch(SI_brwsr){case 0: return SIobj.offsetHeight;case 1: return SIobj.document.height;case 2: return parseInt(SIobj.style.height);}}function SIhide(a){var SIobj=SIgetObj(a);switch(SI_brwsr){case 0: case 2: SIobj.style.visibility='hidden';break;case 1: SIobj.visibility='hide';break;}}function SIshow(a){var SIobj=SIgetObj(a);switch(SI_brwsr){case 0:case 2:SIobj.style.visibility='visible';break;case 1: SIobj.visibility='show';break;}}function SIparseClip(r,i){var a=r.indexOf("(")+1;while(i != 0){a=r.indexOf(" ",a)+1;i--;}if(r.substring(a,a+1).indexOf("a")==-1){return parseInt(r.substring(a));}else{return r.substring(a,a+4);}}function SItop(){switch(SI_brwsr){case 0: case 2: return SIparseClip(SIgetObj("outer").style.clip,0);case 1: return SIgetObj("outer").clip.top;}}function SIright(){switch(SI_brwsr){case 0: case 2: return SIparseClip(SIgetObj("outer").style.clip,1);case 1: return SIgetObj("outer").clip.right;}}function SIbotom(){switch(SI_brwsr){case 0: case 2: return SIparseClip(SIgetObj("outer").style.clip,2);case 1: return SIgetObj("outer").clip.bottom;}}function SIleft(){switch(SI_brwsr){case 0: case 2: return SIparseClip(SIgetObj("outer").style.clip,3);case 1: return SIgetObj("outer").clip.left;}}function SIsetClip(t,r,b,l,a){var SIobj=SIgetObj(a);switch(SI_brwsr){case 0: case 2: SIobj.style.clip="rect("+t+" "+r+" "+b+" "+l+")";break;case 1:SIobj.clip.top=t;SIobj.clip.right=r;SIobj.clip.bottom=b;SIobj.clip.left=l;break;}}function SIclipTop(r){SIsetClip(r,SIright(),SIbotom(),SIleft(),"outer");}function SIclipRight(r){SIsetClip(SItop(),r,SIbotom(),SIleft(),"outer");}function SIclipBottom(r){SIsetClip(SItop(),SIright(),r,SIleft(),"outer");}function SIclipLeft(r){SIsetClip(SItop(),SIright(),SIbotom(),r,"outer");}function SIstart(){if(SI_brwsr==1) SIlc="";else SIlc=layerContent;var SIhtml='<div id="outer" style="filter:blendTrans(duration=2)"><div id="topbar">';SIhtml+='<div align=center><b>'+title+'</b></div><img src="'+spacer+'" width='+bannerWidth+' height=1 border=0>';SIhtml+='</div><div id="banner"><div id="message">'+SIlc+'</div></div><div id="bottombar">';SIhtml+='<div align=center>';SIhtml+='<a href="javascript:void(0);" onmouseover="window.status=\'Scroll up. Click to speed up.\';scrollID=setInterval(\'moveDown(textScroll)\', scrollInterval);return true;" onMouseDown="textScroll=scrollFast;" onMouseUp="textScroll=scrollSlow;" onmouseout="window.status=\'\';clearInterval(scrollID); textScroll=scrollSlow;return true;" onClick="return false;"><img name="a1" src="'+upArrow+'" width=19 height=10 alt="Use arrow to scroll up." border=0></a>&nbsp;&nbsp;';SIhtml+='<img src="'+spacer+'" width=20 height=1 border=0>';SIhtml+='<a href="javascript:void(0);" onmouseover="window.status=\'Scroll down. Click to speed up.\';scrollID=setInterval(\'moveUp(textScroll)\', scrollInterval);return true;" onMouseDown="textScroll=scrollFast;" onMouseUp="textScroll=scrollSlow;" onmouseout="window.status=\'\';clearInterval(scrollID); textScroll=scrollSlow;return true;" onClick="return false;"><img name="a2" src="'+downArrow+'" width=19 height=10 alt="Use arrow to scroll down." border=0></a>';SIhtml+='</div>';SIhtml+='<img src="'+spacer+'" width='+bannerWidth+' height=15 border=0><br>';SIhtml+='</div></div>';document.write(SIhtml);switch(SI_brwsr){case 0: case 2: fillLayer();break;case 1:if(window.coolOLTemp==null){window.coolOLTemp=""+window.onload;window.coolOLTemp=window.coolOLTemp.substring(window.coolOLTemp.indexOf("{")+1,window.coolOLTemp.lastIndexOf("}")-1);}window.coolOLTemp="setTimeout(\"window.onresize=SI_onResize;\",1000);fillLayer();"+window.coolOLTemp;window.onload=SI_onLoad;break;}}function SI_onResize(){window.location.reload();}function SI_onLoad(){eval(window.coolOLTemp);}function fillLayer(){SIsetClip(0,bannerWidth,scrollHeight,0,"banner");var message=SIgetObj("message");switch(SI_brwsr){case 0:message.style.pixelTop=0;SIhide("outer");SIbottom=message.offsetHeight;message.style.height=SIcut;SIsetTop(0,"message");break;case 1:message.document.write(layerContent);message.document.close();message.top=0;break;case 2:SIbottom=message.offsetHeight;message.style.height=SIcut+'px';message.style.overflow='hidden';SIsetTop(0,"message");break;}}var expandClip;var contractClip;function openLayer(){switch(SI_brwsr){case 0: case 1:if(expand==1){clearInterval(expandClip);expand=3;}if(expand==2){clearInterval(contractClip);expand=0;}interval=1;if(expand != 0){contractClip=setInterval("close_clip()", interval);}else{SIsetClip(itop,right,bottom,left,"outer");SIshow("outer");expandClip=setInterval("open_clip()", interval);}break;case 2:if(!done){SIshow("outer");done=1;}else{SIhide("outer");done=0;}break;}}function open_clip(){expand=1;switch(effect){case 0:SIclipTop((SItop()-expInc>0)?(SItop()-expInc):0);if(SItop()==0) done=1;break;case 1:SIclipRight((SIright()+expInc<bannerWidth)?(SIright()+expInc):bannerWidth);if(SIright()==bannerWidth) done=1;break;case 2:SIclipBottom((SIbotom()+expInc<bannerHeight)?(SIbotom()+expInc):bannerHeight);if(SIbotom()==bannerHeight) done=1;break;case 3:SIclipLeft((SIleft()-expInc>0)?(SIleft()-expInc):0);if(SIleft()==0) done=1;break;case 4:SIclipTop((SItop()-verInc>0)?(SItop()-verInc):0);SIclipRight((SIright()+horInc<bannerWidth)?(SIright()+horInc):bannerWidth);SIclipBottom((SIbotom()+verInc<bannerHeight)?(SIbotom()+verInc):bannerHeight);SIclipLeft((SIleft()-horInc>0)?(SIleft()-horInc):0);if((SItop()==0) && (SIright()==bannerWidth) && (SIbotom()==bannerHeight) && (SIleft()==0)) done=1;}if(done==1){clearInterval(expandClip);expand=3;done=0;}}function close_clip(){expand=2;switch(effect){case 0:SIclipTop((SItop()+expInc<bannerHeight)?(SItop()+expInc):bannerHeight);if(SItop()==bannerHeight) done=1;break;case 1:SIclipRight((SIright()-expInc>0)?(SIright()-expInc):0);if(SIright()==0) done=1;break;case 2:SIclipBottom((SIbotom()-expInc>0)?(SIbotom()-expInc):0);if(SIbotom()==0) done=1;break;case 3:SIclipLeft((SIleft()+expInc<bannerWidth)?(SIleft()+expInc):bannerWidth);if(SIleft()==bannerWidth) done=1;break;case 4:SIclipTop((SItop()+verInc<itop)?(SItop()+verInc):itop);SIclipRight((SIright()-horInc>right)?(SIright()-horInc):right);SIclipBottom((SIbotom()-verInc>bottom)?(SIbotom()-verInc):bottom);SIclipLeft((SIleft()+horInc<left)?(SIleft()+horInc):left);if((SItop()==itop) && (SIright()==right) && (SIbotom()==bottom) && (SIleft()==left))done=1;break;}if(done==1){clearInterval(contractClip);SIhide("outer");expand=0;done=0;}}function moveUp(r){switch(SI_brwsr){case 0: case 2:if(SIgetTop("message")+SIbottom-r>scrollHeight) SIsetTop(SIgetTop("message")-r,"message",1,1,r);else SIsetTop(scrollHeight-SIbottom,"message",1,0,r);break;case 1:if(SIgetTop("message")+SIgetHeight("message")-r>scrollHeight) SIsetTop(SIgetTop("message")-r,"message",1,1,r);else SIsetTop(scrollHeight-SIgetHeight("message"),"message",1,0,r);break;}}function moveDown(r){if(SIgetTop("message")+r<0){SIsetTop(SIgetTop("message")+r,"message",0,1,r);}else{SIsetTop(0,"message",0,0,r);}}
