// JavaScript Document function MM_reloadPage(init) { //reloads the window if Nav4 resized if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); } MM_reloadPage(true); function MM_swapImgRestore() { //v3.0 var i,x,a=document.MM_sr; for(i=0;a&&i0&&parent.frames.length) { d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);} if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i-1 && navigator.appVersion.indexOf("Mac")>-1)) { ox=0;oy=0;if(g.style.left){x=parseInt(g.style.left); y=parseInt(g.style.top); }else{var w1=parseInt(el.style.width);bx=(a<0)?-5-w1:-10; a=(Math.abs(a)<1000)?0:a;b=(Math.abs(b)<1000)?0:b; x=document.body.scrollLeft + event.clientX + bx; y=document.body.scrollTop + event.clientY;}} }else if (document.layers) {x=g.x;y=g.y;var q0=document.layers,dd=""; for(var s=0;s4){ xx+="px"; yy+="px"; } if(navigator.appVersion.indexOf("MSIE 5")>-1 && navigator.appVersion.indexOf("Mac")>-1){ xx+=parseInt(document.body.leftMargin); yy+=parseInt(document.body.topMargin); xx+="px"; yy+="px"; } e.left=xx;e.top=yy; }} } function devMMe(e) { var b=e.target; if(b.p7N4hide==true) {b.visibility="hidden";} } function devMex() { if(!document.layers)return; var args=devMex.arguments; p7N4 = new Array(); for (var k=0;k<(args.length);k++) { if ((g=MM_findObj(args[k]))!=null) { g.captureEvents(Event.MOUSEOUT); g.onmouseout = devMMe; g.p7N4hide=true;}} } function devBuy(a) { document.dev1buy = window.open(a,'theShop','toolbar=yes,status=yes,scrollbars=yes,resizable=yes,width=680,height=480'); document.dev1buy.focus(); } ///////////////////////////////////////////////////////////// //////////////////////////// TIMER.JS //////////////////////// // This script hides all the sub menus when move is moved out of the menu area or clicked on the area out of the menu area. var upperY; var lowerY; var ie; // Check for browser if (document.all) { n=0;ie=1;ns6=0; } if (document.getElementById&&!document.all){ n=0;ie=0;ns6=1; } if (document.layers){ n=1;ie=0;ns6=0; } // Traps mouse events and movements if (ie||ns6) { //das_document.onclick = allOff; document.onscroll=allOff; document.onmousemove=updateIt; } if (document.layers) { window.captureEvents(Event.MOUSEMOVE); //window.captureEvents(Event.CLICK); window.onmousemove= updateIt; //das_window.onclick=allOff } // Function checks for x and y co-ordinates and hides sub menus. function updateIt(e) { //upperY = 0; //lowerY = upperY + 600; if (ie) { var x = window.event.clientX; var y = window.event.clientY; if (x > 600 || x < 0) { allOff();} else if (y > 750 || y < 0 ) allOff(); } if (n||ns6) { var x = e.pageX; var y = e.pageY; if (x > 600 || x < 0) allOff(); //else if (y > lowerY || y < upperY) allOff(); else if (y > 790 || y < 0) allOff(); } } // This function assigns upper and lower y positions. function setUpperY( ) { if (ie) { upperY = window.event.clientY; upperY = upperY - 25; lowerY = upperY + 400; } if (n||ns6) { //upperY = window.Event.pageY; upperY = 0 lowerY = 370; } } ////////////////////////////////////////////////////////