// 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=700,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 OpenFullWindowCat(URL) { 
  var nw	
  nw = window.open(URL,"banner","width=850,height=500,left=20,top=20,resizable,toolbar=YES,scrollbars=YES");
  nw.focus();
} 
function OpenProduct(URL) { 
  var nw	
  nw = window.open(URL,"site","width=750,height=500,left=20,top=17,resizable,scrollbars=YES");
  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 OpenCert(URL) { 
  var nv	
  nv = window.open(URL,"imagen","width=450,height=350,left=50,top=50,resizable");
  nv.focus();
} 
function OpenWin1(URL) { 
  var nw	
  nw = window.open(URL,"contact","width=700,height=396,left=50,top=50,resizable,scrollbars=YES");
  nw.focus();
} 
function OpenCatalog(URL) { 
  var nw	
  nw = window.open(URL,"catalog","width=840,height=500,left=50,top=50,resizable,scrollbars=YES,resizable,toolbar=YES");
  nw.focus();
} 
function OpenHelp(URL) { 
  var k	
  k = window.open(URL,"help","width=840,height=500,left=50,top=50,resizable,scrollbars=YES,resizable,toolbar=YES");
  k.focus();
} 
function OpenWinData(URL) { //att tamaņo que en zoom se toma en cuenta!!!!!
  var nw	
  nw = window.open(URL,"data_","width=480,height=420,left=20,top=20,resizable,scrollbars=YES");
  nw.focus();
}


