function openwin(url, width, height, tit)
{
win1 = open("", "_blank", "toolbar=0,status=0,location=0,menubar=0,directories=0,scrollbars=0,resizeable=0,width="+width+",height="+height);
win1.document.open();
win1.document.write("<html><head><title>"+tit+"</title><script type="text/javascript">
function validate(form1,email) {
   var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
   var address = document.forms[form1].elements[email].value;
   if(reg.test(address) == false) {
      alert('Invalid Email Address');
      return false;
   }
}
</script>
</head><body bgcolor=#ffffff leftmargin=0 topmargin=0 marginwidth=0 marginheight=0><a href=\"javascript:window.close()\"><img src="+url+" border=0 alt=\"CLOSED\"></a></body></html>");
win1.document.close();
}

