ie = (document.all)? true:false;

function changer(img){
	img='url('+img+')';
	
	if (ie){
		if (document.all.hola!=''){
			document.all.hola.style.backgroundImage=img;
		}
	}else if(document.layers){
		if (document.layers['hola']!=''){
			document.layers['hola'].backgroundImage=img;
		}
	}else{
		if (document.getElementById('hola')!=''){
			document.getElementById('hola').style.backgroundImage=img;
		}
	}
}

function changeback(){
	document.all.hola.style.backgroundImage='';
}

activateMenu = function(nav) {

    /* currentStyle restricts the Javascript to IE only */
	if (document.all && document.getElementById(nav)) {  
        var navroot = document.getElementById(nav);
        
        /* Get all the list items within the menu */
        var lis=navroot.getElementsByTagName("LI");  
        for (i=0; i<lis.length; i++) {
        
           /* If the LI has another menu level */
            if(lis[i].lastChild.tagName=="UL"){
            
                /* assign the function to the LI */
             	lis[i].onmouseover=function() {	
                
                   /* display the inner menu */
                   this.lastChild.style.display="block";
                }
                lis[i].onmouseout=function() {                       
                   this.lastChild.style.display="none";
                }
            }
        }
    }
}
window.onload= function(){
    /* pass the function the id of the top level UL */
    activateMenu('nav'); 
    activateMenu('productlist'); 
}

front=0;

//this sets special NS fix style atts
ns_style='';
ns_style_m='';
ns_div_alt='';
ns_div_head='';
if(!document.layers && !document.all){
	ns_style='padding:2px 0px 2px 0px;';
	ns_style_m='margin-top:0px'
	ns_div_alt='style="width:156;background-color:#aaaaaa;padding:2px 0px 2px 0px"';
	ns_div_head='style="padding-left:0px;width:68"';
}
