
function frameBase(urlBase)
{
	if(window.parent == window)
	{
		window.location=urlBase;
	}
}


<!--
var bn=navigator.appName;
var vn=navigator.appVersion;
var p1=null;
var p2=null;
var p3=null;
var p4=null;
var p5=null;

// Animated menu stuff
function off_img(loc,img) {};
function on_img(loc,img) {};

function gonow(p)
  {
  location=addr[p];
  };


menuimg = new Array(14);
if ((bn!="Microsoft Internet Explorer") || (vn.substring(0,3)!="2.0"))
{
menuimg[1]= new Image (103,30);
menuimg[1].src="images/buttons/CalGirlfr_01.gif";
menuimg[8]= new Image (103,30);
menuimg[8].src="images/buttons/CalGirlfr_01-over.gif";
menuimg[2]= new Image (126,30);
menuimg[2].src="images/buttons/CalBoyfr_01.gif";
menuimg[9]= new Image (126,30);
menuimg[9].src="images/buttons/CalBoyfr_01-over.gif";
menuimg[3]= new Image (120,30);
menuimg[3].src="images/buttons/CalFertilityfr_01.gif";
menuimg[10]= new Image (120,30);
menuimg[10].src="images/buttons/CalFertilityfr_01-over.gif";
menuimg[4]= new Image (140,30);
menuimg[4].src="images/buttons/CalPregnancyfr_01.gif";
menuimg[11]= new Image (140,30);
menuimg[11].src="images/buttons/CalPregnancyfr_01-over.gif";
menuimg[5]= new Image (98,30);
menuimg[5].src="images/buttons/CalFullfr_01-over.gif";
menuimg[12]= new Image (98,30);
menuimg[12].src="images/buttons/CalFullfr_01-over.gif";
}

function on_img(loc,img)
  {
  if ((bn!="Microsoft Internet Explorer") || (vn.substring(0,3)!="2.0"))
    loc.src=menuimg[img].src;
  }

// -->

<!-- Begin
closetime = 20;
current_year=2001;
UK20dates = "22.00";
UK40dates = "38.00";
US20dates = "40.00";
US40dates = "69.00";
euro20dates = "33.00";
euro40dates = "57.00";

function Start(URL, WIDTH, HEIGHT) {
windowprops = "left=50,top=200,width=" + WIDTH + ",height=" + HEIGHT;
preview = window.open(URL, "preview", windowprops);
if (closetime) setTimeout("preview.close();", closetime*1000);
}

function doPopup() {
url = "warning.html";
width = 600;  // width of window in pixels
height = 130; // height of window in pixels
delay =1;    // time in seconds before popup opens
timer = setTimeout("Start(url, width, height)", delay*1000);
}

var win = null;

function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}

function defocus()
{
  document.babyForm.currency.focus();
}

function daysInFebruary (year)
{
    return (  ((year % 4 == 0) && ( (!(year % 100 == 0)) || (year % 400 == 0) ) ) ? 29 : 28 );
}

function calculateCost()
{
	var span = ((document.babyForm.projectionSpan.selectedIndex==0) ? 20 : 40);
	var curr = document.babyForm.currency.selectedIndex;
	var newCost;
	
	if (curr==0) {
		if (span==20) newCost = US20dates;
			else newCost = US40dates;
	}
	else if (curr==1) {
			if (span==20) newCost = UK20dates;
		else newCost = UK40dates;
	}
	else {
		if (span==20) newCost = euro20dates;
		else newCost = euro40dates;
	}
	document.babyForm.cost.value = newCost;
}




function isDate (year, month, day)
{
    var intYear = parseInt(year);
    var intMonth = parseInt(month);
    var intDay = parseInt(day);

    if (intDay>daysInMonth(intMonth)) return false; 

    if ((intMonth == 2) && (intDay > daysInFebruary(intYear))) return false;

    return true;
}

function daysInMonth(month)
{
	if(month==2) return 29;
	else if (month==4||month==6||month==9||month==11) return 30;
	else return 31;
}

function isDOBValid(year, month, day)
{	
	var intYear = parseInt(year)+1949;
    var intMonth = parseInt(month);
    var intDay = parseInt(day);
	
	if (intYear==1949||intMonth==0||intDay==0)
	{
		alert("Gracias de completar su fecha de nacimiento.");
		return false;
	}
	
	if (!isDate(intYear, intMonth, intDay))
	{
		alert("Su fecha de nacimiento " + intDay + "/" + intMonth + "/" + intYear + " es incorrecta.  Gracias de entender una fecha correcta.");
		return false;
	}
	else return true;
}

function validateForm(f)
{
	return isDOBValid(f.birthYear.selectedIndex, f.birthMonth.selectedIndex, f.birthDay.selectedIndex);
}
//  End -->

<!--

function openNewWindow1() {
popupWin = window.open('../info/infotextfr.html', 'open_window', 'resizable,dependent,width=600,height=420,left=0,top=0')
}


// -->