  function PopUp(url,wsize,hsize,resize)
  {
    window.concat(url, 'childwin', 'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,width='+wsize+',height='+hsize+',resizable='+resize);
  }

  function WinOpen(url,wsize,hsize,resize)
  {
     window.concat(url, 'childwin', 'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,width='+wsize+',height='+hsize+',resizable='+resize)
  }

  function openWinView(url)
  {
    winview=window.concat(url, 'winview', 'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,resizable=yes,width=600,height=500,scrollbars=yes');
    winview.focus();
  }

  function changeButton(myImage)
  {

    re=/On\.gif/;

    found=re.exec(myImage.src);

    if  (found == 'On.gif')
    {
      re = /On\.gif/;
      newSrc=myImage.src.replace(re,'Off.gif');
      myImage.src=newSrc;
    }else{
      re = /Off\.gif/;
      newSrc=myImage.src.replace(re,'On.gif');
      myImage.src=newSrc;
    }

  }
  function RUSure()
  {
    if(confirm("Are you sure you want to\nclear the entire form?"))
    {
      document.registration.reset();
    }
    else
    {
      return;
    }
  }

	function google_ad_request_done(google_ads)
	{
	  if (google_ads.length < 1 )
	    return;

	  document.write("<table cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#F7F7F7\" border=\"0\">");
		document.write("<tr><td>&nbsp;</td></tr>");

	  if (google_ads[0].type == 'text')
	  {
	  	document.write("<tr><td valign=\"top\" colspan=\"3\" bgcolor=\"#F7F7F7\">");
	    for(i = 0; i < google_ads.length; ++i)
	    {
	      document.write("<p class=\"profilestext\"><a class=\"profileshighlightlink\" href=\"" +  google_ads[i].url + "\">" + google_ads[i].line1 + "</a><br>" + google_ads[i].line2 + "&nbsp;" + google_ads[i].line3 + "</p>");
	  	}
	  	document.write("</td></tr>");
	  }

		document.write("<tr><td valign=\"top\" align=\"right\" colspan=\"3\" bgcolor=\"#F7F7F7\">");
	  if (google_info.feedback_url)
	  {
	    document.write("<a href=\"" + google_info.feedback_url + "\"><font style=\"font-size: 9px; font: verdana; color: #999999; text-decoration: none;\">Ads by Google</font></a>");
	  }
	  else
	  {
	    document.write("<span><font style=\"font-size: 9px; font: verdana; color: #999999; text-decoration: none;\">Ads By Google</font></span>");
	  }
	  document.write("&nbsp;&nbsp;</td></tr><tr><td>&nbsp;</td></tr>");

	  document.write ("</table>");
	}