function openFull(url,width,height,top,left)
{
	if(!width)
		width =  800;
		
	if(!height)
		height =  600;
		
    window.open(url,'',"scrollbars=yes,resizable=yes,toolbar=yes,location=yes,status=no,menubar=yes,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left);
}

function openMedium(url,width,height,top,left)
{
	if(!width)
		width =  800;
		
	if(!height)
		height =  600;
		
    window.open(url,'',"scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,menubar=yes,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left);
}

function openSimple(url,width,height,top,left)
{
	if(!width)
		width =  800;
		
	if(!height)
		height =  600;
		
    window.open(url,'',"scrollbars=no,resizable=yes,toolbar=no,location=no,status=no,menubar=no,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left);
}

function openSimpleWithScroll(url,width,height,top,left)
{
	if(!width)
		width =  800;
		
	if(!height)
		height =  600;
		
    window.open(url,'',"scrollbars=yes,resizable=yes,toolbar=no,location=no,status=no,menubar=no,width=" + width + ",height=" + height + ",top=" + top + ",left=" + left);
}

function openEmailNotification()
{
	openMedium('/blast/blast_redirect.asp',710,590);
}

function holidayTakeFlight()
{
	openMedium('/HolidaysTakeFlight_promo.htm',570,600);
}

function parentLocation(url)
{
		if(window.opener)
			window.opener.location.href = url;
		else
			openFull(url,800,590,25,75);
}

function openWayfinder( file )
{
	openSimple("/Airport_Wayfinder.aspx?file=" + file, 611,472);
}



