// JavaScript Document

img1 = new Image;
img1.src = "/img/pyt_celda_on.gif";
img2 = new Image;
img2.src = "/img/pyt_celda_on_over.gif";
img3 = new Image();
img3.src = "/img/pyt_celda_over.gif";
img4 = new Image();
img4.src = "/img/fasc.gif";
img5 = new Image();
img5.src = "/img/fdesc.gif";

function ValidarEmail(cadena){
	var Email = new String(cadena);
	var Formato = /^([\w-\.])+@([\w-]+\.)+([a-z]){2,4}$/;
	var Comparacion = Formato.test(Email);
	if(Comparacion == false){
		return false;
	}else{
		return true;
	}
}

function DoShowTB(laurl,tit,params,law,lah){
	if(params.length==0){
		laurl2 = laurl+'?width='+law+'&height='+lah;
	}else{
		laurl2 = laurl+'?'+params+'&width='+law+'&height='+lah;
	}
	tb_show(tit, laurl2, '');
}

function DoChgIdi(idi){
	if(idi=='2'){
		alert("Properament disponible");
	}else if(idi=='3'){
		alert("Coming soon");
	}
}

