function popup( url, id, width, height)
{
   //var width = 790;
   //var height = 580;
   //extract the url parameters if any, and pass them to the called html
   //var tempvar=document.location.toString(); // fetch the URL string
   //var passedparams = tempvar.lastIndexOf("?");
   //if(passedparams > -1)
   //   url += tempvar.substring(passedparams);
  popup1 = window.open( url, id, 'toolbar=no,scrollbars=no,location=no,statusbar=no,menubar=no,resizable=no,width=' + width + ',height=' + height + '' );
  popup1.focus();
}
