// JavaScript Document
function abrirVentana(URL){
	CONST_SCREEN_SIZE=(screen.height*0.1);
	screenvalue=(screen.height- CONST_SCREEN_SIZE);  	
	modo = "width="+screen.width +",height="+screenvalue+",menubar=0,resizable=1,scrollbars=0,status=1,toolbar=0,left=0,top=0,fullscreen=0";
	a = window.open(URL,"ventana",modo);
	a.focus();
}
function abrirVentanaNueva (URL){
	a= window.open(URL,"ventanaNueva");
	a.focus();
}
function abrirVentanaContacto(URL){
	modo = "width=597,height=554,menubar=0,resizable=0,scrollbars=0,status=1,toolbar=0,left=130,top=130,fullscreen=0";	
	a= window.open(URL,"ventanaContacto",modo);
	a.focus();
}
function abrirImprimir(URL){
	modo="width=740,height=554,menubar=0,resizable=0,scrollbars=1,status=1,toolbar=0,left=130,top=130,fullscreen=0";	
	a= window.open(URL,"ventanaImprimir",modo);
	a.focus();
}
function cerrarVent(){
	self.document.close();
}

function moveToTop(){
top.window.moveTo(0,0);
	if (document.all) {
		top.window.resizeTo(screen.availWidth,screen.availHeight);
	}
	else if (document.layers||document.getElementById) {
		if (top.window.outerHeight<screen.availHeight||top.window.outerWidth<screen.availWidth){
			top.window.outerHeight = screen.availHeight;
			top.window.outerWidth = screen.availWidth;
		}
	}
}
function PrintScreen(){
   bV = parseInt(navigator.appVersion);
   if (bV >= 4) 
   	window.print();
   else
   	alert ("Su versión del navegador no permite la función de impresión ");
   
}
function doSubmit(form)
{
	form.submit();
}
function checkDeseo() { 

}