// JavaScript Document
// Function to call the date related frames
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
// Function to expand and collapse TR Tags
function hide_and_seek(id)
{
	obj = document.getElementById(id);
	if(obj.style.display == "")
	{
		obj.style.display = "none";
	}
	else
	{
		obj.style.display = "";
	}
}
function validate_types(form)
{
	return true;
}

function closenotifier()
{
	obj = document.getElementById("notifier");
	obj.style.display = "none";
}
// Removes leading whitespaces
function LTrim(value)
{
	var re = /\s*((\S+\s*)*)/;
	return value.replace(re, "$1");
}
// Removes ending whitespaces
function RTrim(value)
{
	var re = /((\s*\S+)*)\s*/;
	return value.replace(re, "$1");	
}
// Removes leading and ending whitespaces
function trim(value)
{
	return LTrim(RTrim(value));	
}