<!--

if (((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) >= 3)) || ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4 ))) {
    rollOvers = 1;
} else {
    rollOvers = 0;
}


loaded = 0;

function loadImg () {
    if (rollOvers) {
      
        iniciOn = new Image(55, 99);
        iniciOn.src = "pic/bn_inici.gif";
        
        iniciOff = new Image(55, 99);
        iniciOff.src = "pic/bp_inici.gif";
        
        guiaOn = new Image(55, 99);
        guiaOn.src = "pic/bn_guia.gif";
        
        guiaOff = new Image(55, 99);
        guiaOff.src = "pic/bp_guia.gif";
        
        xatOn = new Image(55, 99);
        xatOn.src = "pic/bn_xat.gif";
        
        xatOff = new Image(55, 99);
        xatOff.src = "pic/bp_xat.gif";
        
        suggOn = new Image(55, 99);
        suggOn.src = "pic/bn_sugg.gif";
        
        suggOff = new Image(55, 99);
        suggOff.src = "pic/bp_sugg.gif";
        
        
        

        loaded = 1;
    }
}

function switchOn(imgName) {
        if (loaded == 1) {
        imgOn = eval(imgName + "On.src");
        window.document[imgName].src = imgOn;
        }
}

function switchOff(imgName) {
        if (loaded == 1) {
        imgOff = eval(imgName + "Off.src");
        window.document[imgName].src = imgOff;
        }

}

// BEGIN popup windows
	
	// sniffing the user agent (NOT IN USE)
	var n = (document.layers) ? 1:0;
	var ie = (document.all) ? 1:0;
	var windowWidth;
	var windowHeight;
	// getting dimensions
	windowWidth = 818;
	windowHeight = 440;
	//windowWidth = screen.width-20;
	//windowHeight = screen.height-80;
	// redefining default popup features
	var _POPUP_FEATURES = 'resizable=1,location=0,statusbar=0,menubar=0,width='+windowWidth+',height='+windowHeight;
	listen('load', window, function() {
		mlisten('click', getElementsByClass('popup','a'), event_popup );
	});
	
// END popup windows

-->
