// This javascript file is for brand specific variables and routines.

// Include other funtions and variables that are brand specific
var homePage = pageURL.substring(7).split("/")[0] == "gale.ancestry.com" && currentTab == null || currentTab == "home" || currentTab == "ggmain.htm";
function mOver(theImg,state){
var whichImg = document.images[theImg];
var doIt = (whichImg.src.indexOf("a.gif"));
	if (doIt <= 1){
		if (document.images && state == 1){
		whichImg.src = g_CachePartner + "/i/" + theImg + "o.gif";}
		else if (document.images && state == 0){
		whichImg.src = g_CachePartner + "/i/" + theImg + ".gif";}
	}
}

function writeBrandHeader(strDomain)
{
}


function writeBrandFooter(strDomain)
{
	document.write('<table width="620" border="0" cellpadding="0" cellspacing="0" height="5">');
	document.write('	<tr>');
	document.write('		<td></td>');
	document.write('	</tr>');
	document.write('</table>');
	document.write('<img src="' + g_CachePartner + '/i/powered.gif" width="620" height="24">');
	
	document.write('<table width="620" border="0" cellspacing="0">');
	document.write('	<tr>');
	document.write('    <td class="description" align=center><img src="' + g_CachePartner + '/i/logo.gif" width="145" height="47"></td>');
	document.write('	</tr>');
	document.write('	</table>');
}


// Dummied out function for UKI-L and Gale -- since they are not on standard headers yet.
var m_Cache = ( (typeof g_Cache) != 'undefined' ) ? g_Cache : 'http://c.ancestry.com';
var m_CachePartner = ( (typeof g_CachePartner) != 'undefined' ) ? g_CachePartner : 'http://c.ancestry.com/p/5535';
function IsStarterExperience()
{
	return false;
}

