function DoNothing()
{
}
	
function PopUpWindow1(url, name, widgets)
{
   popupWin=window.open(url, name, widgets);
   popupWin.opener.top.name = "opener";
   popupWin.focus();
}

function PopUpWindow2(FormName,url, PopName, widgets)
{
   var theForm=eval("document."+FormName);
   theForm.target=PopName;
   popupWin=window.open(url, PopName, widgets);
   popupWin.opener.top.name = "opener";
   popupWin.focus();
}

function AlertFalse(alertStr)
{
   alert(alertStr);
   return false;
}

function GetRequest(key)
{
   var UpperKey=key.toUpperCase();
   var Ret="";
   var argstr=location.search.substring(1,location.search.length);//location.search has a question mark at the beginning, so we call substring() to get rid of it.
   var args=argstr.split(',');
   for (var i=0;i< args.length; i++)
   {
      var Argument=unescape(args[i]);
      var p=Argument.indexOf('=');
      if (p!=-1)
      {
         var s1=Argument.substr(0,p);
         var s2=Argument.substring(p+1,Argument.length);
         s1=s1.toUpperCase();
         if (UpperKey==s1) Ret=s2;
      }
   }
   return Ret;
}
