<!-- Begin

//function alert(){}

function popUp_ALT(url,sname, swidth, sheight) {
	newwindow=window.open(url,sname,'height='+sheight+',width='+swidth);
	if (window.focus) {newwindow.focus()}
	return false;
}
	
function popUp(URL,toolbar, scrollbar, locations, statusbar, menubar, resizable, width, height, left, top) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=" + toolbar + ",scrollbars=" + scrollbar + ",location=" + locations + ",statusbar=" + statusbar + ",menubar=" + menubar + ",resizable=" + resizable + ",width=" + width + ",height=" + height + ",left =" + left + ",top = " + top + "')");
}

function echeck(str) {

	var at="@"
	var dot="."
	var lat=str.indexOf(at)
	var lstr=str.length
	var ldot=str.indexOf(dot)
	if (str.indexOf(at)==-1){
	   //alert("Invalid E-mail ID")
	   return false
	}

	if (str.indexOf(at)==-1 || str.indexOf(at)==0 || str.indexOf(at)==lstr){
	   //alert("Invalid E-mail ID")
	   return false
	}

	if (str.indexOf(dot)==-1 || str.indexOf(dot)==0 || str.indexOf(dot)==lstr){
		//alert("Invalid E-mail ID")
		return false
	}

	 if (str.indexOf(at,(lat+1))!=-1){
		//alert("Invalid E-mail ID")
		return false
	 }

	 if (str.substring(lat-1,lat)==dot || str.substring(lat+1,lat+2)==dot){
		//alert("Invalid E-mail ID")
		return false
	 }

	 if (str.indexOf(dot,(lat+2))==-1){
		//alert("Invalid E-mail ID")
		return false
	 }
	
	 if (str.indexOf(" ")!=-1){
		//alert("Invalid E-mail ID")
		return false
	 }

	 return true					
}


// End -->

<!-- Begin
function highlightBlock(srcElement, sHighlight) {
  srcElement.bgColor = sHighlight;
}
function lowlightBlock(srcElement, sLowlight) {
  srcElement.bgColor = sLowlight;
}

function doBlock(srcElement) {
  if(srcElement.bgColor == "#ffffff")
  {
      srcElement.bgColor = "#efefef";//"#F7F7F7"; //"#EEFCDA"; //#CAE1F9
  }else{
      srcElement.bgColor = "#ffffff";
  }
}
-->



