

/***********************************************************************
*
* Mail address constants for use in confusing automated email harvesters
*
************************************************************************/
var _cs = "customerservices";
var _c = "Customer ";
var _s = "Services";
var _a = "@";
var _world = "icebrkr.com";


// Opens a new window with the given url.
function Popup( url, width, height )
{
	if ( height == null )
	{
		height = 400;
	}
	
	if ( width == null )
	{
		width = 400;
	}
	
	window.open(url, "_blank", "height=" + height.toString() + ", width=" + width.toString() + ", status=yes, toolbar=no, menubar=no, location=no, scrollbars=yes");
	return;
}


// Gets an object on the page in a cross browser compatible manner.
function GetElementById( clientId )
{
	if ( document.getElementById )
	{
		return document.getElementById( clientId );
	}
	else if ( document.all )
	{
		return document.all[ clientId ];
	}
	else if ( document.layers )
	{
		return document.layers[ clientId ];
	}
	
	return null;
}


// Replaces text within elements like spans and paragraphs in a cross browser
// compaible way.
function DisplayText( id, msg )
{
	var newTxt = document.createTextNode( msg );
	id.replaceChild( newTxt, id.childNodes[0] ); 
}


// Does nothing
function DoNothing()
{
}