<!--hide script from old browsers

function privacyPol () {
	window.open("Privacidad.asp","","width=500,height=300,scrollbars=yes");
}



// this function sets up the date variables
function initArray() {
	for(i=0;i<initArray.arguments.length; i++)
	this[i] = initArray.arguments[i];
}

var isnMonths=new initArray("enero","febrero","marzo","abril","mayo","junio","julio","agosto","septiembre","octubre","noviembre","diciembre");
var isnDays= new initArray("domingo","lunes","martes","miercoles","jueves","viernes","s&aacute;bado","domingo");

today=new Date();
hrs=today.getHours();
min=today.getMinutes();
sec=today.getSeconds();
clcKBh=""+((hrs>12)?hrs-12:hrs); 
clcKBm=((min<10)?"0":"")+min;
clcKBs=((sec<10)?"0":"")+sec;
clcKB=(hrs>=12)?"p.m.":"a.m.";

var stnr="";
var ns="0123456789";
var a="";

// fixes a Netscape 2 and 3 bug

function getFullYear(d) { // d is a date object
	yr = d.getYear();
		if (yr < 1000)
			yr+=1900;
			return yr;
}


// The page title has been incorporated into the date writing function
// for easier updating of general design template.
// It also has a new css class to allow it to align with the dhtml menu.
function writeDate(){
	document.write("<FONT FACE=' Arial, Helvetica, Sans-Serif' SIZE='1' COLOR='#FFFFFF'> "+isnDays[today.getDay()] +", "+today.getDate()+" de "+isnMonths[today.getMonth()]+" de " +getFullYear(today)+"&nbsp;</FONT>")
	document.write("<span class='headertextLight'>|&nbsp;<a href='mapaweb.asp' class='headertextLight'>mapa web</a>&nbsp;|&nbsp;<a href='index.asp' class='headertextLight'>inicio</a></span>");
}

//Here the cookie system has been deleted. The photos now change randomnly
//on each new page visited.

//Generate a random number.
function rndNum12() {
	var n;
	n=12;
	while(n==12) {
		n = Math.floor(Math.random()*11);
	}
	n++;
	return n;	
}

//New Change Clip Function
function changeClip() {
	var img;
	imgNum = rndNum12();
	document.images["clip"].src="images/banner/clip" + imgNum + ".gif";
}

// end hiding -->