var root = "/";
if (window.location.hostname.indexOf(".") == -1)
	{
	var site = window.location.pathname;
	var p = site.indexOf("/", 1);
	if (p != -1)
		root = site.substring(0, p + 1);
	}

function home()
	{
	window.top.location = root;
	}

function aboutus()
	{
	window.top.location = root + "aboutus/";
	}

function programs()
	{
	window.top.location = root + "programs/";
	}

function finalcall()
	{
	window.top.location = root + "finalcall/";
	}


function events()
	{
	window.top.location = root + "events/";
	}

function beliefs()
	{
	window.top.location = root + "beliefs/";
	}

function contactus()
	{
	window.top.location = root + "contactus/";
	}

function qa()
	{
	window.top.location = root + "qa/";
	}

function commlinks()
	{
	window.top.location = root + "commlinks/";
	}

// --------------------------------------------------------

function aboutnoi()
	{
	aboutus();
	}

function aboutmm11()
	{
	window.top.location = root + "aboutus/aboutmm11.htm";
	}

function ourministers()
	{
	window.top.location = root + "aboutus/ourministers.htm";
	}

// --------------------------------------------------------


function health()
	{
	window.top.location = root + "programs/health.htm";
	}

function prisonministry()
	{
	window.top.location = root + "programs/prisonministry.htm";
	}

function menandboys()
	{
	window.top.location = root + "programs/menandboys.htm";
	}

function foi()
	{
	window.top.location = root + "programs/foi.htm";
	}

function jrfoi()
	{
	window.top.location = root + "programs/jrfoi.htm";
	}

function womenandgirls()
	{
	window.top.location = root + "programs/womenandgirls.htm";
	}

function mgtandgcc()
	{
	window.top.location = root + "programs/mgtandgcc.htm";
	}

function jrmgt()
	{
	window.top.location = root + "programs/jrmgt.htm";
	}

function jrvanguard()
	{
	window.top.location = root + "programs/jrvanguard.htm";
	}

function myeacademy()
	{
	window.top.location = root + "programs/myeacademy.htm";
	}

function qualityoflife()
	{
	window.top.location = root + "programs/qualityoflife.htm";
	}

// --------------------------------------------------------

function subscriptions()
	{
	window.top.location = root + "finalcall/subscriptions.htm";
	}


function excerpts()
	{
	window.top.location = root + "finalcall/excerpts.htm";
	}

// --------------------------------------------------------

function contactinfo()
	{
	contactus();
	}


function directions()
	{
	window.top.location = root + "contactus/directions.htm";
	}

function supportus()
	{
	window.top.location = root + "contactus/supportus.htm";
	}

// --------------------------------------------------------

function faqs()
	{
	qa();
	}

function askthenoi()
	{
	window.top.location = root + "qa/askthenoi.aspx";
	}
