// JavaScript Document
function OpenWinParent(URL) { 
  var nw	
  nw = window.open(URL,"contact","width=624,height=396,left=50,top=50,resizable");
  parent.main.history.previous;
  nw.focus();
} 
function OpenWin(URL) { 
  var nw	
  nw = window.open(URL,"contact","width=624,height=396,left=50,top=50,resizable");
  nw.focus();
} 
function OpenFullWindow(URL) { 
  var nw	
  nw = window.open(URL,"banner","width=700,height=500,left=20,top=20,resizable,toolbar=YES,scrollbars=YES");
  nw.focus();
} 
function OpenSite(URL) { 
  var nw	
  nw = window.open(URL,"site","width=400,height=300,left=50,top=50,resizable");
  nw.focus();
} 
function OpenDetalle(URL) { 
  var nw	
 nw = window.open(URL,"detalle","width=500,height=410,left=50,top=50,scrollbars=YES");
  nw.focus();
} 
function CloseW() {
window.close();
}
function AbrirDetalleGeneral( wsp )  {
window.open('detalle.asp?foto=1&id=' + wsp.value, '_top');
}
function AbrirZona( wsp )  {
window.open('elegir.asp?cod=zona&valor=' + wsp.value, '_top');
}
function AbrirNombre( wsp )  {
window.open('elegir.asp?cod=nombre&valor=' + wsp.value, '_top');
}
function OpenOrden(URL) { 
  var nw	
  nw = window.open(URL,"orden","width=545,height=400,left=200,top=100,resizable,scrollbars=YES");
  nw.focus();
} 
function OpenImagen(URL) { 
  var nv	
  nv = window.open(URL,"imagen","width=470,height=200,left=50,top=50");
  nv.focus();
} 
function OpenToolWindow(URL) { 
  var nw	
  nw = window.open(URL,"banner","width=600,height=400,left=20,top=20,resizable,toolbar=YES,scrollbars=YES");
  nw.focus();
} 
function AbrirImagen( url )  {
 nw= window.open('zoom.asp?foto=' + url.value,"detalle","width=300,height=150,left=50,top=50,resizable");
 nw.focus() 
 }
 function AbrirNoticia( url )  {
 nw= window.open('../contenido/noticias/paginas/' + url.value,"detalle","width=600,height=400,left=50,top=50,resizable,toolbar=YES,scrollbars=YES");
 nw.focus() 
 }
 function VerPortada( imagen,titulo,copete,url )  {
 nw= window.open('portadaver.asp?imagen=' + imagen.value + '&titulo=' + titulo.value + '&copete=' + copete.value + '&url=' + url.value,"detalle","width=600,height=400,left=50,top=50,resizable,toolbar=YES,scrollbars=YES");
 nw.focus() 
 }

