// script para hacer precarga de las imagenes del site

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];}}
}


// mouse over de las pestaņas de la seccion noticias en el home

<!--

	if (document.images) {
	bot1on = new Image();	bot1on.src = "../img/bot_actualidad_on.gif";
	bot2on = new Image();	bot2on.src = "../img/bot_empresas_on.gif";
	bot3on = new Image();	bot3on.src = "../img/bot_infoaecor_on.gif";
	bot4on = new Image();	bot4on.src = "../img/bot_general_on.gif";
	bot5on = new Image();	bot5on.src = "../img/bot_subir_on.gif";

	bot1off = new Image();	bot1off.src = "../img/bot_actualidad_off.gif";
	bot2off = new Image();	bot2off.src = "../img/bot_empresas_off.gif";
	bot3off = new Image();	bot3off.src = "../img/bot_infoaecor_off.gif";
	bot4off = new Image();	bot4off.src = "../img/bot_general_off.gif";
	bot5off = new Image();	bot5off.src = "../img/bot_subir.gif";
	}
	
	function imgOn(imgName) {
	// if (document.images) {
	if (document[imgName])  {
	document.images[imgName].src = eval(imgName + "on.src");
	}
	
	}
	
	function imgOff(imgName) {
	// if (document.images) {
	if (document[imgName])  {
	document.images[imgName].src = eval(imgName + "off.src");
	}
	
	}
	
// -->

// mouse over de las celdas de la seccion noticias en el home

	<!--
		function mOvr(src,clrOver)
	{
		if (!src.contains(event.fromElement))
		{
		src.style.cursor = 'default'; 
		src.bgColor = clrOver;
		}
	}
		
		function mOut(src,clrIn)
	{	
		if (!src.contains(event.toElement))
		{
		src.style.cursor = 'default';
		src.bgColor = clrIn;
		}
	}
	
	//-->
	
// mouse over new para ver si funciona en FF

function cOnMenu(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor= "#EEECE5";
td.style.cursor = 'default';
	}
}
function cOutMenu(td){
if(document.getElementById||(document.all && !(document.getElementById))){
td.style.backgroundColor="#FFFFFF";
	}
}
