//<!--
browserName = navigator.appName;
browserVer = parseInt(navigator.appVersion);
condition = !(( (browserName.indexOf("Explorer") >=0 ) && (browserVer < 4) ) ||  ((browserName.indexOf("Netscape") >=0 ) && (browserVer < 2) ) ) ;
if (condition == true  )
    CanAnimate = true;
else
    CanAnimate = false;
/* for translator starts */
function translator(pattern)
{
	var thisurl = 'http://translate.google.com/translate_c?langpair=' + pattern + "&u=" + document.location;
	if (CanAnimate ){
        	msgWindow=window.open('' ,'subwindow','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0');
	        msgWindow.focus();
        	msgWindow.location.href = thisurl;
	}
	else {
        	msgWindow=window.open(thisurl,'subwindow','toolbar=yes,location=yes,directories=yes,status=yes,scrollbars=yes,menubar=yes,resizable=yes,left=0,top=0');
	}
}
/* for translator ends */
function validateit(theForm) {
	if (!(/^\w+([\.-]?\w+)*@\w+([\.-]?\w+)*(\.\w{2,4})+$/.test(theForm.email.value)))
	{
		alert("Invalid Email ID. Kindly enter the correct ID.");
		theForm.email.focus();
		return (false);
	}
}

function checkData1 ()
{
	if (document.form2.search.value.length < 3){
	    alert("Enter at least three characters for search."); 
	    document.form2.search.focus();
	    return false;
	}
	else{
		return true;
	}

}

function checkData1 ()
{
	if (document.form2.search.value.length < 3){
	    alert("Enter at least three characters for search."); 
	    document.form2.search.focus();
	    return false;
	}
	else{
		return true;
	}

}


function getblank(this1)  {
	if (this1.value == "Your e-mail here") {
		this1.value = "";
	}
	return true;	
}

function convert()

{
var loc = document.location.toString();
loc = loc.substring(7,loc.length);
var idx;
idx = document.trans.langpair.selectedIndex;
if (idx<=0) 
{
alert("Please select a language.");
return false;
}
else{
window.open('http://translate.google.com/translate_c?langpair=' + document.trans.langpair.options[idx].value + "&u=" + document.location,"new_trans");
return false;
}
}
// -->



