// JavaScript Document
function checknewsletter()
{
  if(document.getElementById("txtName").value == "")
  {
    alert("Please Enter Your Name!!!");
    return false;
  }
  reg=/^\w+([-+.]\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*$/;
	if(!reg.test(document.getElementById("txtEmail").value))
	{
	alert('Please enter e-mail properly !!!');

	return false;
	}

  // if(document.getElementById("txtEmail").value == "")
 // {
   // alert("Please Enter Your Correct Email Address!!!");
   // return false;
 // }
  }
  
  function flashElement(){
	  document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="704" height="172" title="Best Practice Research">');
        document.write('<param name="movie" value="flash/headerBsn.swf" />');
        document.write('<param name="quality" value="high" />');
        document.write('<embed src="flash/headerBsn.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="704" height="172"></embed>');
      document.write('</object>');
  }
  
  function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}