//little helpers and hacks

function setAdultDefault() {
	//var aSelect = document.search_form.ADULT.selectedIndex;
	//alert(aSelect);
	if (document.search_form.ADULT.selectedIndex != 1) {
		document.search_form.ADULT.selectedIndex = 1;
	}
}

function verisign() {

	versignwindow = window.open('https://seal.verisign.com/splash?form_file=fdf/splash.fdf&dn=BOOKING.TIGERAIRWAYS.COM&lang=en','VRSN_Splash','location=yes,status=yes,resizable=yes,scrollbars=yes,width=560,height=500');

}


function popUp(theURL) {
	the_day = new Date();
	id = the_day.getTime();
	eval("tigerpopup" + id + " = window.open(theURL, '" + id + "', 'toolbar=0,scrollbars=1,location=0,statusbar=0,menubar=1,resizable=1,width=640,height=320,left = 150,top = 250');");
}

function pressrelease(myURL) {
	popUp('press/' + myURL);
}



//initializer!

function initializers() {

	//from navitaire!
	init();

	//for rollovers
	initRollovers2();

	//for Adults/Children/Infants default values
	//setAdultDefault();
}
window.onload = initializers;