
	function mediacns(pagename){
		mediacns_window=window.open(pagename,'mediacns_window','toolbar=no,location=no,borders=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,left=0,top=0,width=874,height=610');
	}


	function test(obj,msg) {
		  var regex = /^[a-zA-Z0-9._-]+@([a-zA-Z0-9.-]+\.)+[a-zA-Z0-9.-]{2,4}$/;
		  if (regex.test(obj.value))
		  {
			return true;
		  }
		  else{
			alert(msg);
			obj.focus();
			return false;
		  }
		}
	function checkint(obj,msg)
	{
	 if(isNaN(obj.value))
	 {
	  alert(msg);
	  obj.focus();
	  return false;
	 }
	}
	function checkempty(obj,msg)
	{
	 if(obj.value=="")
	 {
	  alert(msg);
	  obj.focus();
	  return false;
	 }
	}
	function checkForm()
	{
		if (checkempty(document.con_form.name,"Please Enter Your Name")==false) return false;
		if (checkempty(document.con_form.country,"Please Enter Your Country")==false) return false;
		if (checkempty(document.con_form.tel,"Please Enter Your Telephone No.")==false) return false;
		if (test(document.con_form.email,"Please Enter a Valid Email Address")==false) return false;
		return true;
	}


function mlistForm()
	{
		if (test(document.con_form.email,"Please Enter a Valid Email Address")==false) return false;
		return true;
	}

<!--
function animationdiv(id){
document.getElementById(id).style.visibility="visible"
}
function toggle_visibility(id) {
var e = document.getElementById(id);
if(e.style.display == 'none')
e.style.display = 'block';
else
e.style.display = 'none';
}
//-->