//------------------------------------------------------------------------------------------//
// Libreria de Funciones Javascript
// Taller de Web Comunicación Digital S.L.
// go@tallerdeWeb.com
// Prohibida la reproducción total o parcial sin el consentimiento escrito del autor
//
// http://www.TallerdeWeb.com
//------------------------------------------------------------------------------------------//

//
// Abre una ventana modal si el navegador lo soporta
//


function OpenChild(strUrl,w,h,s) {
	

	//if (window.showModalDialog) {
	//	var WinSettings = "status:no;scroll:no;center:yes;resizable:no;dialogHeight:"+ h +";dialogWidth:"+ w +"px"
	//	var MyArgs = window.showModalDialog(strUrl, WinSettings);

	//} else {
		//window.open(strUrl, 'Ampliar','width="+ parseInt(w) +",height="+ parseInt(h) +"');
		//alert(strUrl +",'Ampliar','width="+ w +"'");
		var popWindow = window.open(strUrl, "Ampliar","status=1,width="+ parseInt(w) +",height="+ parseInt(h) +",resizable=1,scrollbars="+ s +"");
		popWindow.creator = self


		
	//}
}


function popup(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

