function msg(args){
file = "mail.asp" + args
window.open(file,"","width=320,height=240");
}

function envio_de_formulario(nombre,apellido,direccion,ciudad,telefono,email){

window.open("mail.php?nombre="+nombre+"&apellido="+apellido+"&direccion="+direccion+"&ciudad="+ciudad+"&telefono="+telefono+"&email="+email,"","width=250,height=150");
}

function openNewWindow(URLtoOpen, windowName, windowFeatures) { newWindow=window.open(URLtoOpen, windowName, windowFeatures); }

<!--
function FDK_newWindow(url,name,width,height,status,directories,location,toolbar,menubar,scrollbars,resizable) {
  options=((width!="")?"width="+width:"")+((height!="")?",height="+height:"")+",status="+((status=="1")?"yes":"no")+",directories="+((directories=="1")?"yes":"no")+",location="+((location=="1")?"yes":"no")+",toolbar="+((toolbar=="1")?"yes":"no")+",menubar="+((menubar=="1")?"yes":"no")+",scrollbars="+((scrollbars=="1")?"yes":"no")+",resizable="+((resizable=="1")?"yes":"no");
  window.open(url,name,options);
}
//-->

<!--
function displayWindow(theURL,winName,width,height,features) { //v3.1
// Made by Eddie Traversa modified from Macromedia Code
// http://nirvana.media3.net/
    var window_width = width;
    var window_height = height;
    var newfeatures= features;
    var window_top = (screen.height-window_height)/2;
    var window_left = (screen.width-window_width)/2;
    newWindow=window.open(''+ theURL + '',''+ winName + '','width=' + window_width + ',height=' + window_height + ',top=' + window_top + ',left=' + window_left + ',features=' + newfeatures + '');
    newWindow.focus();
}

function WindowTools(rsz,axs,amount,offset,loop,diag,xwin,maxwin,gf,mwx,mwy)
{	// Neonix Window Tools ver 1.4.0 - www.neonix.net/nwt.mv
	if (gf == '1'){
		self.focus();
	}
	if (rsz.length != '1'){
		var rszArray = rsz.split('X');
		self.resizeTo(rszArray[1],rszArray[0]);
	}
	if (maxwin == '1'){
		self.moveTo(0,0);
		self.resizeTo(screen.availWidth,screen.availHeight);
	}
	if (mwx && mwy){
		window.moveTo(mwx,mwy);
	}
	if (axs == '0'){
		for (i=0;i<loop;i++){
			window.resizeBy('0',amount);
			window.moveBy('0',offset);	 
		}
	}
	else if (axs == '1'){
		for (i=0;i<loop;i++){
			window.resizeBy(amount,'0');
			window.moveBy(offset,'0');	 
		}
	}
	else if (axs == '2'){
		if (diag == '1' && offset.indexOf('-') == '0'){
			var v = offset; var h = - offset;
		}
		else if (diag == '1' && offset.indexOf('-') == '-1'){
			var v = offset; var h = - offset;
		}
		else {
			var v = offset; var h = offset;
		}
		for (i=0;i<loop;i++){
			window.resizeBy(amount,amount);
			window.moveBy(v,h);
		}		  
	}
    if (xwin == '1'){
		window.close();
	}
}
//-->

function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->
