<!--
// popup window functions
var popUpWin=0;
// popup window with scrollbars 
function popUpWindow(URLStr, left, top, width, height) {
	if(popUpWin) {
		if(!popUpWin.closed) popUpWin.close();
	}
	popUpWin = open(URLStr,'popUpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}
// popup window without scrollbars
function popUpWindow2(URLStr, left, top, width, height) {
	if(popUpWin) {
		if(!popUpWin.closed) popUpWin.close();
	}
	popUpWin = open(URLStr,'popUpWin','toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width='+width+',height='+height+',left='+left+', top='+top+',screenX='+left+',screenY='+top+'');
}

// new menu functions
function showmenu(){
	if (document.fsmenu.ismenu.value == 's'){
		toggleT('scontent','s');
		document.fsmenu.ismenu.value = 'h';
		document.fsmenu.Ovimage.value = 'images/ocultar_01-over.gif';
		document.fsmenu.Ouimage.value = 'images/ocultar_01.gif';
	}else{
		toggleT('scontent','h');
		document.fsmenu.ismenu.value = 's';
		document.fsmenu.Ovimage.value = 'images/mostrar_01-over.gif';
		document.fsmenu.Ouimage.value = 'images/mostrar_01.gif';
	}
}
function toggleT(_w,_h)  {
	if (_h=='s') eval("document.all."+_w+".style.display='block';");
	if (_h=='h') eval("document.all."+_w+".style.display='none';");
}
function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}
function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}
var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		mostrar_01_over = newImage("images/mostrar_01-over.gif");
		ocultar_01_over = newImage("images/ocultar_01-over.gif");
		bg_menu_left = newImage("images/bg_menu_left.gif");
		preloadFlag = true;
	}
}
//-->