// pragma page ""
// pragma page "Copyright::Function::GetCopyInfo"
////////////////////////////////////////////////////////////////
//
// Returns standard copyright information
//
////////////////////////////////////////////////////////////////
function GetCopyInfo()
{
	var sCopyright	= '';
	sCopyright		+= '<table width="100%"><tr>';
	sCopyright		+= '<td width="10px">&#160;</td>';
	sCopyright		+= '<td rowspan="2"><select id="idSelectSites" onChange="linkSite( \'idSelectSites\' );"><option value="0">Westin Associate Sites</option><option value="mario">Mario Camacho Foods</option><option value="corp">Westin Foods</option></select></td>';
	sCopyright		+= '<td align="right">Westin Packaged Meats  &#8226;  11808 West Center Road  &#8226;  Omaha, Nebraska 68144  &#8226;  402.691.8800</td>';
	sCopyright		+= '<td width="10px">&#160;</td>';
	sCopyright		+= '</tr><tr>';
	sCopyright		+= '<td>&#160;</td>';
	sCopyright		+= '<td align="right">&#169;2008 Westin Foods  &#8226;  All Rights Reserved</td>';
	sCopyright		+= '<td>&#160;</td>';
	sCopyright		+= '</tr></table>';

	return( sCopyright );
}

// pragma page ""
// pragma page "Copyright::Function::GetCreatedBy"
////////////////////////////////////////////////////////////////
//
// Returns standard copyright information
//
////////////////////////////////////////////////////////////////
function GetCreatedBy()
{
	var shtml	= '';
	shtml		+= '<br>';
	shtml		+= '<table width="100%"><tr>';
	shtml		+= '<td align="center">';
	shtml		+= '<a href="http://www.bhmi.com"><img src="../../graphics/shared/createdByBhmi.gif" border="0"></a>';
	shtml		+= '</td>';
	shtml		+= '</tr></table>';
	return( shtml );
}


// pragma page "Search::Function::GetSrchInfo"
////////////////////////////////////////////////////////////////
//
// Returns standard search information
//
////////////////////////////////////////////////////////////////
function GetSrchInfo( sNavCategory , sPath)
{
	var sHtml	= "";
	sHtml		+= "<table width='144' border='0' cellpadding='1' cellspacing='0' bgcolor=' " + gsNavBorder + " '>";
	sHtml		+= "	<tr>";
	sHtml		+= "		<td>";
	sHtml		+= "			<table width='142' border='0' cellpadding='4' cellspacing='0' bgcolor='" + gsNavBackground + "'>";
	sHtml		+= "				<form name='fmSrch' action='" + sPath + "cgi-bin/search.cgi'>";
	sHtml		+= "					<tr><td class='gbNavItem' colspan='3'>Enter a keyword or phrase in quotes and our search engine will locate the matches.</td></tr>";
	sHtml		+= "					<tr><td colspan='3' height='18'><input type='text' name='srch' maxlength='150' class='inText' style='width: 130px;'></td></tr>";
	sHtml		+= "					<tr><td align='right' colspan='3' height='22'><a href='javascript: document.forms[ \"fmSrch\" ].submit();' onmouseover='window.status = \"Search our site!\"; return true;' onmouseout='window.status = \"\"; return true;'><img border='0' src= '../../graphics/" + sNavCategory + "/shared/btnSearch.gif' height='15' width='60' hspace='5'></a></td></tr>";
	sHtml		+= "					<tr><td colspan='3' height='10'><hr style='border-style: dashed; color: #999999; width: 134px; height: 1px;'></td></tr>";
	sHtml		+= "					<tr>";
	sHtml		+= "						<td id='trSearch02' align='center' class='gbNavItem' height='18' width='63'><a class='gbNavItem' href='" + sPath + "html/home/sitemap.html' onmouseover='Select( \"trSearch02\" , \"Nav\" );' onmouseout='Unselect( \"trSearch02\" , \"Nav\" );'>Site Map</a></td>";
	sHtml		+= "						<td align='center' class='gbNavItem' width='10'>|</td>";
	sHtml		+= "						<td id='trSearch03' align='center' class='gbNavItem' height='18' width='63'><a class='gbNavItem' href='" + sPath + "html/home/siteindex.html' onmouseover='Select( \"trSearch03\" , \"Nav\" );' onmouseout='Unselect( \"trSearch03\" , \"Nav\" );'>Site Index</a></td>";
	sHtml		+= "					</tr>";
	sHtml		+= "				</form>";
	sHtml		+= "			</table>";
	sHtml		+= "		</td>";
	sHtml		+= "	</tr>";
	sHtml		+= "</table>";
	return( sHtml );
}


// pragma page "Menu:imgChg"
////////////////////////////////////////////////////////////////
//
// handles mouseover functionality for menu
//
////////////////////////////////////////////////////////////////
function imgChg(
  sItem
 ,sImg
)
{
	document.getElementById( sItem ).style.background="url(" + sImg + ")";
}

// pragma page "Site:linkSite"
////////////////////////////////////////////////////////////////
//
// handles mouseover functionality for menu
//
////////////////////////////////////////////////////////////////
function linkSite(
  sId
)
{
	var vSite = document.getElementById( sId ).value;
	if ( vSite != "0")
	{
		if ( vSite == "mario")
		{
			document.location.href = "http://www.mariocamachofoods.com/";
		}
		
		if ( vSite == "corp")
		{
			document.location.href="http://www.westinfoods.com";
		}
	}
		
}