function news(id) {
	var iMyWidth;
	var iMyHeight;
	var an=700;
	var al=500;
	archivo="vnews.php?id="+id;
	iMyWidth = (window.screen.width/2) - (an/2 + 10); 
	iMyHeight = (window.screen.height/2) - (al/2 + 40);
	var win2 = window.open(archivo,"","height="+al+",width="+an+",resizable=no,left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars=yes,resizable=no");
	win2.focus();
}

function ventana(page,an,al,bars) {
	var iMyWidth;
	var iMyHeight;
	//var an=700;
	//var al=500;
	iMyWidth = (window.screen.width/2) - (an/2 + 10); 
	iMyHeight = (window.screen.height/2) - (al/2 + 40);
	var win2 = window.open(page,"","height="+al+",width="+an+",left=" + iMyWidth + ",top=" + iMyHeight + ",screenX=" + iMyWidth + ",screenY=" + iMyHeight + ",scrollbars="+bars+",resizable=no");
	win2.focus();
}

function ilumina(src,id){
		src.bgColor="#0a3764";
		tx=eval(id+".style");
		tx.color= "white";
}

function apaga(src,id){
		src.bgColor="#CACDDC";
		tx=eval(id+".style");
		tx.color= "#0a3764";
}

function rollover(foto,st){
	if(st==1){
		pant="images/"+foto+"_over.gif";
		window.document[foto].src = pant;
	}else{
		pant="images/"+foto+".gif";
		window.document[foto].src = pant;
	}

}

function iluminamenu(src){
	src.bgColor="#D3D5DD";
}

function apagamenu(src){
		src.bgColor="#FFFFFF";
}

function subraya(clase){
	identity=document.getElementById(clase);
	identity.className='fndmenu';
}

function ilumina2(src,id){
		src.bgColor="#C6C5D5";
		tx=eval(id+".style");
		tx.color= "#0a3764";
}

function apaga2(src,id){
		src.bgColor="#0A3764";
		tx=eval(id+".style");
		tx.color= "white";
}

function ilumina2(src,id){
		src.bgColor="#C6C5D5";
		tx=eval(id+".style");
		tx.color= "#0a3764";
}

function apaga3(src,id){
		src.bgColor="#016797";
		tx=eval(id+".style");
		tx.color= "white";
}

function apaga4(src,id){
		src.bgColor="#008CC1";
		tx=eval(id+".style");
		tx.color= "white";
}