var TargetWindow;

var webPages = new Array();
webPages[1] = "Index.html";
webPages[2] = "Services.htm";
webPages[3] = "president_profile.htm";
webPages[4] = "Contact.html";

function MM_effectAppearFade(targetElement, duration, from, to, toggle)
{
	Spry.Effect.DoFade(targetElement, {duration: duration, from: from, to: to, toggle: toggle});
}

function TransferPage(Page)
{
		window.location = Page;
}

function eventGotoNextPage()
{	
	if (OpenWindow != TargetWindow)
	{
		MM_effectAppearFade('ContentWindow', 1000, 100, 0, false);
		setTimeout ( "TransferPage(webPages[TargetWindow])", 1000 );

	}
}

function eventGotoServices()
{	
	if (OpenWindow != 2)
	{
		MM_effectAppearFade('ContentWindow', 1000, 100, 0, false);
		stop;
	}
}
