// ROLLOVERS

x = "<cfoutput>#ImagesURL#</cfoutput>/nav_"
if (document.images) {            
 			
			helpon = new Image();  helpon.src = "http://staging30.omnicontests.com/aals/images/nav_help_mo.jpg";
			registeron = new Image();  registeron.src = "http://staging30.omnicontests.com/aals/images/nav_register_mo.jpg";
			contactuson = new Image();  contactuson.src = "http://staging30.omnicontests.com/aals/images/nav_contactus_mo.jpg";
			logonon = new Image();  logonon.src = "http://staging30.omnicontests.com/aals/images/nav_logon_mo.jpg";
			logoffon = new Image();  logoffon.src = "http://staging30.omnicontests.com/aals/images/nav_logoff_mo.jpg";
			mainmenuon = new Image();  mainmenuon.src = "http://staging30.omnicontests.com/aals/images/nav_mainmenu_mo.jpg";
 			
			helpoff = new Image();  helpoff.src = "http://staging30.omnicontests.com/aals/images/nav_help_on.jpg";
			registeroff = new Image();  registeroff.src = "http://staging30.omnicontests.com/aals/images/nav_register_on.jpg";
			contactusoff = new Image();  contactusoff.src = "http://staging30.omnicontests.com/aals/images/nav_contactus_on.jpg";
			logonoff = new Image();  logonoff.src = "http://staging30.omnicontests.com/aals/images/nav_logon_on.jpg";
			logoffoff = new Image();  logoffoff.src = "http://staging30.omnicontests.com/aals/images/nav_logoff_on.jpg";
			mainmenuoff = new Image();  mainmenuoff.src = "http://staging30.omnicontests.com/aals/images/nav_mainmenu_on.jpg";
			
        }
    function img_On(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "on.src");       
            }
    }
    function img_Off(imgName) {
            if (document.images) {
                document[imgName].src = eval(imgName + "off.src");        
            }
           
    }

// LAYERED MENUS

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_findObj(n, d) { //v4.01
  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 && d.getElementById) x=d.getElementById(n); return x;
}

function show() { //v6.0
  var i,p,v,obj,args=show.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}