var M_open;var M_brwsr;var M_AN=navigator.appName;var M_AV=navigator.appVersion;var M_IE=(M_AN=="Microsoft Internet Explorer")?1:0;var M_NS=(M_AN=="Netscape")?1:0;var M_Mac=(M_AV.indexOf("Mac")!=-1)?1:0;var M_Ver=(M_Mac && M_IE)?parseInt(M_AV.substring(22)):parseInt(M_AV);var M_IE5m=(M_IE && M_Mac && M_Ver>=5)?1:0;if((M_IE && M_Ver>=4 && !M_Mac) || M_IE5m) M_brwsr=0;else if(M_NS && M_Ver>=4 && M_Ver<5) M_brwsr=1;else if(M_NS && M_Ver>=5) M_brwsr=2;function M_getObj(r,i){switch(M_brwsr){case 0: return document.all(r);case 1:if(r.indexOf("document")!=-1) return eval(r);else if(i!=null) return eval("document."+i+r);else return document.layers[r];case 2:return document.getElementById(r);}}function M_getTop(obj){switch(M_brwsr){case 0: case 2: var temp=obj.offsetParent;if(temp==null) return obj.offsetTop;else var x=obj.offsetTop+temp.offsetTop;while(temp!=null){temp=temp.offsetParent;if(temp!=null){var z=temp.offsetTop;x+=(Math.abs(z)==z)?z:0;}}if(!M_IE5m) return x;else{temp=obj.offsetParent;var x2=obj.style.posTop+temp.style.posTop;while(temp!=null){temp=temp.offsetParent;if(temp!=null){var z=temp.style.posTop;x2+=(Math.abs(z)==z)?z:0;}}return Math.max(x,x2);}case 1:return obj.pageY;}}function M_setTop(obj,r){switch(M_brwsr){case 0:case 2: obj.style.top=r;break;case 1:obj.top=r;break;}}function M_getLeft(obj){switch(M_brwsr){case 0: case 2:var temp=obj.offsetParent;if(temp==null) return obj.offsetLeft;else var x=obj.offsetLeft+temp.offsetLeft;while(temp!=null){temp=temp.offsetParent;if(temp!=null){var z=temp.offsetLeft;x+=(Math.abs(z)==z)?z:0;}}if(!M_IE5m)return x;else{temp=obj.offsetParent;var x2=obj.style.posLeft+temp.style.posLeft;while(temp!=null){temp=temp.offsetParent;if(temp!=null){var z=temp.style.posLeft;x2+=(Math.abs(z)==z)?z:0;}}return Math.max(x,x2);}case 1:return obj.pageX;}}function M_setLeft(obj,r){switch(M_brwsr){case 0:case 2: obj.style.left=r;break;case 1:obj.left=r;break;}}function M_show(obj,a){if(a) obj=M_getObj(obj);switch(M_brwsr){case 0:case 2: obj.style.visibility="visible";break;case 1:obj.visibility="show";break;}}function M_hide(obj){switch(M_brwsr){case 0:case 2: obj.style.visibility="hidden";break;case 1:obj.visibility="hide";break;}}function M_MouseOver(n){if(M_brwsr!=null){if(n==null && M_open!=null) this.hideMenu(1);M_open=eval(this.ref);winStat((n!=null)?this.menuItems[n].alt:this.alt);if(this.stop==0) this.showMenu();this.stop=1;this.highlight(n);}}function M_MouseOut(n){if(M_brwsr!=null){this.stop=0;setTimeout(this.ref+".hideMenu()",200);this.normal(n);winStat("");}}function winStat(t){window.status=t;}function M_highlight(n){if(n!=null){var t=M_getObj("i_"+this.ref+"_"+n,"");t.src=this.menuItems[n].img1.src;}else{var t=M_getObj("i_"+this.ref,this.blah);t.src=this.img1.src;}}function M_normal(n){if(n!=null){var t=M_getObj("i_"+this.ref+"_"+n,"");t.src=this.menuItems[n].img0.src;}else{var t=M_getObj("i_"+this.ref,this.blah);t.src=this.img0.src;}}function M_showMenu(){var obj=M_getObj(((M_brwsr==1)?"document."+this.blah+"L_":"D_")+this.ref);var l=M_getLeft(obj);var t=M_getTop(obj);switch(this.od){case 0:t-=this.menuH;if(this.al==1) l-=parseInt(Math.abs(this.w-this.menuW)/2,10);else if(this.al==2) l-=Math.abs(this.w-this.menuW);break;case 1:l+=this.w;if(this.al==1) t-=parseInt(Math.abs(this.h-this.menuH)/2,10);else if(this.al==2) t-=Math.abs(this.h-this.menuH);break;case 2:t+=this.h;if(this.al==1) l-=parseInt(Math.abs(this.w-this.menuW)/2,10);else if(this.al==2) l-=Math.abs(this.w-this.menuW);break;case 3:l-=this.menuW;if(this.al==1) t-=parseInt(Math.abs(this.h-this.menuH)/2,10);else if(this.al==2) t-=Math.abs(this.h-this.menuH);break;}t+=this.yos;l+=this.xos;obj=M_getObj(this.id);M_setLeft(obj,l);M_setTop(obj,t);M_show(obj);}function M_hideMenu(n){if(M_brwsr!=null){if(n!=null){M_hide(M_getObj(M_open.id));var t=M_getObj("i_"+M_open.ref,M_open.blah);t.src=M_open.img;}else if(this.stop!=1){M_hide(M_getObj(this.id));var t=M_getObj("i_"+this.ref,this.blah);t.src=this.img;}}}function M_onLoad(){eval(window.coolOLTemp);}function M_onResize(){window.location.reload();}function Menu(ref,od,xos,yos,al,img,img0,img1,w,h,alt,blah){this.blah=blah;this.ref=ref;this.od=od;this.xos=xos;this.yos=yos;this.al=al;this.img=img;this.img0=new Image();this.img0.src=img0;this.img1=new Image();this.img1.src=img1;this.w=w;this.h=h;this.alt=alt;this.menuItems=null;this.id="M_"+this.ref;this.menuW=0;this.menuH=0;this.stop=0;this.addMenuItem=M_addMenuItem;this.show=M_show;this.hide=M_hide;this.start=M_start;this.cnfgNav4=M_cnfgNav4;this.cnfgIENav6=M_cnfgIENav6;this.newImage=M_newImage;this.MouseOver=M_MouseOver;this.MouseOut=M_MouseOut;this.highlight=M_highlight;this.normal=M_normal;this.showMenu=M_showMenu;this.hideMenu=M_hideMenu;}function M_addMenuItem(img0,img1,w,h,alt,url,target){this.menuH+=h;if(this.menuItems==null){this.menuW=w;this.menuItems=new Array(1);this.menuItems[0]=new MenuItem(img0,img1,w,h,alt,url,target);}else{this.menuItems[this.menuItems.length]=new MenuItem(img0,img1,w,h,alt,url,target);}}function M_start(){switch(M_brwsr){case 0: case 2:this.cnfgIENav6();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=M_onResize;\",1000);"+window.coolOLTemp;window.onload=M_onLoad;this.cnfgNav4();break;}}function M_newImage(i){var mi=this.menuItems[i];html='<a href="'+mi.url+'" TARGET="'+mi.target+'" onClick="'+this.ref+'.hideMenu(1);" onMouseOver="'+this.ref+'.MouseOver('+i+');return true;" onMouseOut="'+this.ref+'.MouseOut('+i+');return true;">';html+='<IMG ID="i_'+this.ref+'_'+i+'" NAME="i_'+this.ref+'_'+i+'" SRC="'+mi.img0.src+'" HEIGHT='+mi.h+' WIDTH='+mi.w+' BORDER=0 ALT="'+mi.alt+'"></a>';return html;}function M_cnfgIENav6(){var html='<DIV ID="'+this.id+'" STYLE="position:absolute;visibility:hidden;left:0;top:0;width:'+this.menuW+';height:'+this.menuH+';z-index:550">';if(this.menuItems!=null){if(this.od==0) for(i=this.menuItems.length-1; i>=0; i--) html+=this.newImage(i);else for(i=0; i<this.menuItems.length; i++) html+=this.newImage(i);}html+='</DIV>';document.write(html);}function M_cnfgNav4(){var html='<LAYER ID="'+this.id+'" pageX=0 pageY=0 HEIGHT='+this.menuH+' WIDTH='+this.menuW+' VISIBILITY="hide" Z-INDEX=550>';if(this.menuItems!=null){if(this.od==0) for(i=this.menuItems.length-1; i>=0; i--) html+=this.newImage(i);else for(i=0; i<this.menuItems.length; i++) html+=this.newImage(i);}html+='</LAYER>';document.write(html);}function MenuItem(img0,img1,w,h,alt,url,target){this.img0=new Image();this.img0.src=img0;this.img1=new Image();this.img1.src=img1;this.w=w;this.h=h;this.alt=alt;this.url=url;this.target=(target!=null)?target:"";}