// -------------------------------------------------------------------
// Returns the X location of the menu_img placeholder
function getMenuImg_X()
{
	return( main_menu_x);
}

// -------------------------------------------------------------------
// Returns the Y location of the menu_img placeholder
function getMenuImg_Y()
{
	return( main_menu_y);
}

// -------------------------------------------------------------------
// Set the location for the menu
if( isIE4)
	{
	if( localDebug) alert( "isIE4");
	main_menu_x = 17;
	main_menu_y = 156;
	}	
else if( isNS4)
	{
	if( localDebug) alert( "isNS4");
	main_menu_x = 16;
	main_menu_y = 149;
	}	
else if( isIE5)
	{
	if( localDebug) alert( "isIE5");
	main_menu_x = 19;
	main_menu_y = 156;
	}	
else if( isN6)
	{
	if( localDebug) alert( "isN6");
	main_menu_x = 17;
	main_menu_y = 165;
	}

// -------------------------------------------------------------------
// This is a function for all locators to use.
function goLocation( loc, trgt)
{
	if( loc != null)
		{
		if( (loc.length > 0) && (loc.toLowerCase() != 'default'))
			window.open( loc, trgt);
		}	
}

// -------------------------------------------------------------------
// This is a function is used to write out a group header.
function writeGroupHeader( sIN)
{
var sOUT = "";

	sOUT += "<table width='100%' border='0'><tr>";
	sOUT += "<td width='100%' bgcolor='#008080' class='TDBodyGroupHeader'><p align='left'>";
	sOUT += "<span class='BodyGroupHeader'>&nbsp; " + sIN + "</span></td>";
	sOUT += "</tr></table>";
	return sOUT;
}

// -------------------------------------------------------------------
// This is a function is used to write out a green line.
function writeGreenLine()
{
var sOUT = "";

//	sOUT += "<hr width='80%' color='#008080'>";

	sOUT += "<table border='0' width='100%'><tr>";
        sOUT += "<td align='center' width='100%' height='4'><img src='images/misc/green_bg.jpg' width='90%' height='2'></td>";
	sOUT += "</tr></table>";

	return sOUT;
}

// -------------------------------------------------------------------
// This is a function is used to write out a green line.
function writeGreenLine98()
{
var sOUT = "";

//	sOUT += "<hr width='80%' color='#008080'>";

	sOUT += "<table border='0' width='100%'><tr>";
        sOUT += "<td align='center' width='100%' height='4'><img src='images/misc/green_bg.jpg' width='98%' height='2'></td>";
	sOUT += "</tr></table>";

	return sOUT;
}


// -------------------------------------------------------------------
// This is a function is used to write out a green line.
function writeBlankLine( width, height)
{
var sOUT = "";
var _width = 1;
var _height = 1;

	if( width > 1)
		_width = width;

	if( height > 1)
		_height = height;

	sOUT += "<table border='0' width='100%'><tr>";
        sOUT += "<td width='" + _width + "' height='" + _height + "'><img src='images/misc/blank' width='" + _width + "' height='" + _height + "'></td>";
	sOUT += "</tr></table>";

	document.write( sOUT);
	return sOUT;
}

// -------------------------------------------------------------------
// This is a function is used to write out a green line.
function writeGreenLineAtBottom()
{
var sOUT = "";

//	sOUT += "<table width='100%'><tr>";
//        sOUT += "<td align='bottom' width='100%' height='4'>";
	sout += "<img src='images/misc/green_bg.jpg' ___width='90%' width='100%' height='2'>";
//	sout += "</td>";
//	sOUT += "</tr></table>";

	return sOUT;
}

