function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
 var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
 if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i]; }

 }
 
}


function MM_MouseOver (id, div_id)
{
var o=null;
o=MM_findObj(id);
if (o !=null)
  o.src="images/menu/"+id+"_over.jpg";
}
function MM_MouseOut (id, div_id)
{
var o=null;
o=MM_findObj(id);
if (o !=null)
  o.src="images/menu/"+id+".jpg";

}

var hide="hidden" 
var show="visible" 
var ie4 = ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ));
var ns4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4 ));
var ns6 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 5 ));

if (ns4) {
  hide="hide"
  show="show"
  //NS4 event capture
  document.captureEvents(Event.MOUSEMOVE);
  document.onmousemove=mmHide;
} else if (ns6)
   document.addEventListener("mousemove", mmHide, false);
  else if (ie4)
   document.onmousemove=mmHide; 
   
function getObj(name) {
  if (ns6)
  {
   if (document.getElementById(name)!=null)
    return document.getElementById(name).style;
   }
  else if (ie4)
  {
    if (document.all[name]!=null)
    return document.all[name].style;
  }
  else if (ns4)
  {
    if (document.layers[name]!=null)
    return document.layers[name];
  }
}

var div_solutionsStyle=null;


function mmHide(e) { 
if(ie4){
    mouseX = window.event.x+document.body.scrollLeft; 
    mouseY = window.event.y+document.body.scrollTop; 
  } else if((ns4)||(ns6)){
      mouseX = e.pageX
      mouseY = e.pageY
  }
  // child layer visible
 
    if ((mouseX > 450)||(mouseX < 275)||(mouseY > 163)||(mouseY <113)) 
    {
		
		div_solutionsStyle = getObj("div_solutions"); 
		if (div_solutionsStyle !=null)
		{
			div_solutionsStyle.display="none";
			
			div_solutionsStyle.visibility = hide;
		}
    }
    if ((mouseX < 375)&&(mouseX > 270)&&(mouseY < 113)&&(mouseY >80))
    {
		
	    div_solutionsStyle = getObj("div_solutions"); 
		if (div_solutionsStyle !=null)
		{
			div_solutionsStyle.display="block";
			
			div_solutionsStyle.visibility = show;
		}
    } 
    
    
}

function MM_findObj(n, d) { //v4.0
 var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&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<d.forms.length;i++) x=d.forms[i][n];
 for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
 if(!x && document.getElementById) x=document.getElementById(n); return x;
}


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();
}


