function openWin(pagename){

		microsite_window=window.open(pagename,'microsite_window','toolbar=no,location=no,borders=no,directories=no,status=no,menubar=no,scrollbars=no,top=0,left=0,resizable=no,width=274,height=438')

	}

<!-- Begin

var win = null;

function newWindow(mypage,myname,w,h,features) {

  var winl = (screen.width-w)/2;

  var wint = (screen.height-h)/2;

  if (winl < 0) winl = 0;

  if (wint < 0) wint = 0;

  var settings = 'height=' + h + ',';

  settings += 'width=' + w + ',';

  settings += 'top=' + wint + ',';

  settings += 'left=' + winl + ',';

  settings += features;

  win = window.open(mypage,myname,settings);

  win.window.focus();

}

//  End -->

//javascript:newWindow('downloads.asp','','600','420')

	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 checkempty(obj,msg)

	{

	 if(obj.value=="")

	 {

	  alert(msg);

	  obj.focus();

	  return false;

	 }

	}

	function checkint(obj,msg)

	{

	 if(isNaN(obj.value))

	 {

	  alert(msg);

	  obj.focus();

	  return false;

	 }

	}

function confirmPassword(obj,obj1,msg)

{

 if(!(obj.value==obj1.value))

 {

  alert(msg);

  obj.focus();

  return false;

 }

}

function isnumber(obj,msg)

{

 if(isNaN(obj.value))

 {

  alert(msg);

  obj.focus();

  return false;

 }

}

	function checksForm()

	{

		if (checkempty(document.frmsearch.txtsearch,"Search Information - Enter Search words")==false) return false;

		return true;

	}

	function checkfForm()

	{

		if (checkempty(document.frmfeed.name,"Contact Information - Enter Name")==false) return false;

		if (test(document.frmfeed.email,"Contact Information - Email Address Is Required")==false) return false;

//		if (checkempty(document.frmfeed.comments,"Contact Information - Enter Comments")==false) return false;

		return true;

	}

	function chkaddqty()

	{

		if (checkempty(document.frmadd.qty,"Information - Enter Quantity")==false) return false;

		return true;

	}

	function checkicForm()

	{

		if (checkempty(document.frmCon.fname,":::...Enter Your Full Name...:::")==false) return false;

		if (checkempty(document.frmCon.company,":::...Enter Your Company Name...:::")==false) return false;

		if (test(document.frmCon.email,":::...Email Address Is Required...:::")==false) return false;

		return true;

	}

	function checkinqForm()

	{

		if (checkempty(document.form1.fname,"Inquiry Information - Enter Contact Person Name")==false) return false;

		if (checkempty(document.form1.company,"Inquiry Information - Enter Company Name")==false) return false;		

		if (checkempty(document.form1.ph,"Inquiry Information - Enter Your Phone No.")==false) return false;

		if (checkempty(document.form1.fax,"Inquiry Information - Enter Your Fax No.")==false) return false;

		if (test(document.form1.email,"Inquiry Information - Email Address Is Required")==false) return false;

		if (checkempty(document.form1.address,"Inquiry Information - Enter Your Address")==false) return false;

		return true;

	}

	function checkfeedForm()

	{

		if (checkempty(document.frmfeed.name,"Contact Information - Enter Name")==false) return false;

		if (test(document.frmfeed.email,"Contact Information - Email Address Is Required")==false) return false;

		if (checkempty(document.frmfeed.comments,"Contact Information - Enter Comments")==false) return false;

		return true;

	}

	function checkdelForm()

	{

		if (checkempty(document.frmfeed.fname,"Information - Enter Name")==false) return false;
		if (checkempty(document.frmfeed.bname,"Information - Your Bussiness Name")==false) return false;
		if (checkempty(document.frmfeed.bph,"Information - Enter Your Bussiness Phone")==false) return false;
		if (test(document.frmfeed.email,"Information - Email Address Is Required")==false) return false;

		return true;

	}
	function chksubscribe()

	{

		if (test(document.frmsubscribe.txtsubscribe,"Email Subscribe! - id@domainname.com")==false) return false;

		return true;

	}