//
// Page Flow Javascript
// Copyright 2001-2003 by Altava Health
//

var scr_width = screen.width;
var scr_height = screen.height;



// BOOKMARK THIS SITE

function BookmarkThisSite()
{
var url="http://www.altavahealth.com";
var title="Altava Health: HairGenesis hair loss treatment products";
if(document.all)

	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))
	{
	window.external.AddFavorite(url,title);
	}
	else
	{
	var NS_msg = "Add Altava Health to your list of favorites!";
	if(navigator.appName == "Netscape") NS_msg += "  (CTRL-D)";
	document.write(NS_msg);
	}

}


// BOOKMARK THIS PAGE

function BookmarkThisPage()
{
var url="http://www.altavahealth.com";
var title="Altava Health: HairGenesis hair loss treatment products";

if(document.all)

	if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4))
	{
	window.external.AddFavorite(url,title);
	}
	else
	{
	var NS_msg = "Add this page to your list of favorites!";
	if(navigator.appName == "Netscape") NS_msg += "  (CTRL-D)";
	document.write(NS_msg);
	}

}


var shipNotice;
function showShipNotice()
{
	window_top = (scr_height - 30-185)/2
	screenX = window_top
	window_left = (scr_width-484)/2
	screenY = window_left
	shipNotice = window.open("http://www.altavahealth.com/store/popup00-shipnotice.htm","thisNotice","width=484,height=185,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	shipNotice.opener = self;
	shipNotice.focus();	
}


function GetFeedback()
{
	window_top = 40;
	screenX = window_top;
	window_left = 40;
	screenY = window_left;
	popWindow = window.open("http://www.altavahealth.com/customer/popup06-feedback.htm","getfeedback","scrollbars=yes,resizable=yes,width=610,height=412,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	popWindow.opener = self;
	popWindow.focus();
}


function EmailaPage()
{
	window_top = (scr_height - 30 - 446)/2;
	screenX = window_top;
	window_left = (scr_width - 580)/2;
	screenY = window_left;
	popWindow = window.open("http://www.altavahealth.com/customer/popup05-emailapage.htm","emailapage","width=580,height=446,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	popWindow.opener = self;
	popWindow.focus();
}


function TellaFriend()
{
	window_top = 40;
	screenX = window_top;
	window_left = 0;
	screenY = window_left;
	popWindow = window.open("http://www.altavahealth.com/customer/popup07-tellafriend.htm","tellfriends","scrollbars=yes,resizable=yes,width=625,height=446,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	popWindow.opener = self;
	popWindow.focus();
}


function TrackOrderUSPS()
{
	window_top = (scr_height - 30 - 300)/2
	screenX = window_top
	window_left = (scr_width-484)/2
	screenY = window_left
	trackOrder = window.open("http://www.altavahealth.com/customer/popup08-trackUSPS.htm","thisOrder","width=484,height=270,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	trackOrder.opener = self;
	trackOrder.focus();
}


function TrackOrderUPS()
{
	window_top = (scr_height - 30 - 300)/2
	screenX = window_top
	window_left = (scr_width-484)/2
	screenY = window_left
	trackOrder = window.open("http://www.altavahealth.com/customer/popup09-trackUPS.htm","thisOrder","width=484,height=270,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	trackOrder.opener = self;
	trackOrder.focus();
}


function doSurvey()
{
	var showSurvey
	window_top = 0
	screenX = window_top
	window_left = 0
	screenY = window_left
	showSurvey = window.open("http://www.altavahealth.com/hair-genesis/survey.htm","thisSurvey","menubar,toolbar,location,scrollbars,resizable,status,width=scr_width,height=scr_height,screenX,screenY,top=" + window_top + ",left=" + window_left + " ");
	showSurvey.opener = self;
	window.focus()	
}


function anyNotice()
{
	specialWindow = window.open("http://www.altavahealth.com/file.htm","thisNotice","width=446,height=365,top=20,left=0,menubar=no,toolbars=no,location=no,scrollbars=no,status=no,resizable=no");
}