// JavaScript Document
function fondo(c, color, mascolor) {
c.style.backgroundColor=color;
c.style.color=mascolor;}

function Select3Dsecure(op) {
		path = location.pathname.toLowerCase();
		dbpos = path.indexOf('.nsf')+4
		DBpath = "/" + path.substring(1,dbpos) + "/";
		switch(op) {

			case "visa":
				window.open('http://www.aviacsa.com/flash/VerifiedByVisa_ESP.swf',"vbv","width=780,height=450,Top=100,left=200,location=NO,menu=NO,statusbar=NO,scrolling=NO,scrollbars=NO,resizable=NO");
			break;

			case "mastercard":
				window.open('http://www.aviacsa.com/flash/SecureCode_ESP.swf',"mcsc","width=780,height=450,Top=200,left=200,location=NO,menu=NO,statusbar=NO,scrolling=NO,scrollbars=NO,resizable=NO");
			break;

			default:
				alert("En construccion");		
		}
}
		