<!--//
if (top != self) top.location.href = location.href;

function CheckEmail(sEmail){

	var atplacement = sEmail.indexOf("@");
	var SendEmail = false;

	if (atplacement > 0)
	{
		var dotplacement = sEmail.indexOf(".", atplacement + 1);
		if (dotplacement > atplacement)
		{
			SendEmail = true;
		}
	}
	if (SendEmail)
	{
		//document.FormResume.submit();
		return true;
	}
	else
	{
		//(alert("Please enter a valid Email Address."))
		return false;
	}
}

function DoNavLeftMouseOver(obj){
	obj.style.backgroundColor = "6699CC";
}
function DoNavLeftMouseOut(obj){
	obj.style.backgroundColor = "";
}

function OpenWindow(page){
	window.open(page, 'newwin', 'width=540,height=440,toolbar=no,scrollbars=yes');
}

function EbillPopwindow(file)
{

	var iwin
	iwin = window.open(file, "newwindow", "width=900,height=550,toolbar=no,scrollbars=no")

}

function Popwindow(file)
{

	var iwin
	iwin = window.open(file, "newwindow", "width=523,height=592,toolbar=no,scrollbars=no")

}

function ToggleImage(obj){
	if (obj != null && obj != "undefined"){
		if (obj.tagName == "IMG"){
			if (obj.src.indexOf("_open") > 0){
				obj.src = "/images/tbl_closed.gif";
			}else{
				obj.src = "/images/tbl_open.gif";
			}
		}
	}
}

function ToggleDisplay(elmname, onoff, obj, clickeditem){
	if (obj == null || obj == "undefined"){
		var elm = document.getElementById(elmname);
	}else{
		elm = obj;
	}
	if (onoff == "on"){
		elm.style.display = "";
	}else if (onoff == "off"){
		elm.style.display = "none";
	}else{
		
		if (elm.style.display == ""){
			elm.style.display = "none";
		}else{
			elm.style.display = "";
		}
	}
	ToggleImage(clickeditem);
}

//-->
