<!-------------- Launch A Html Window ------------->
function launchHtmlWin(Name,Url,Left,Top,Width,Height) {
   if (navigator.appName == 'Netscape') {
       adjWidth = Width + 21;
       adjHeight = Height +56;
   }
   else {
       adjWidth = Width + 41;
       adjHeight = Height + 58;
   }
   if((adjWidth + 30) > window.screen.availWidth) {
     adjWidth = window.screen.availWidth - 30;
   }
   if((adjHeight + 40) > window.screen.availHeight) {
     adjHeight = window.screen.availHeight - 40;
   }
   popupWin=window.open(Url,Name,'width=' + adjWidth + ',height=' + adjHeight +',left='+Left+',top='+Top+',status=no,location=no,directories=no,menubar=no,toolbar=no,scrollbars=yes,resizable=no');
   popupWin.resizeTo(adjWidth,adjHeight);
   popupWin.focus();
}


<!-------------- Launch An Image Window ------------->
function launchPicWin(Name,Img,Left,Top){
   Pic= new Image();
   Pic.src=(Img);
   setPicInfo(Name,Img,Left,Top);
   }
function setPicInfo(Name,Img,Left,Top){
   if((Pic.width!=0)&&(Pic.height!=0)){
      showPic(Name,Img,Left,Top);
   }
  else{
     errDefault="setPicInfo('"+Name+"','"+Img+"','"+Left+"','"+Top+"')";
     errShowPic=setTimeout(errDefault,20);
   }
}
function showPic(Name,Img,Left,Top){
    if (navigator.appName == 'Netscape') {
       adjWidth = Pic.width + 7;
       adjHeight = Pic.height + 27;
   }
   else {
       adjWidth = Pic.width + 27;
       adjHeight = Pic.height + 29;
   }
   if((adjWidth + 30) > window.screen.availWidth) {
     adjWidth = window.screen.availWidth - 30;
   }
   if((adjHeight + 40) > window.screen.availHeight) {
     adjHeight = window.screen.availHeight - 40;
   }
   winSettings="width="+adjWidth+",height="+adjHeight+",left="+Left+",top="+Top+',status=no,location=no,directories=no,menubar=no,toolbar=no,scrollbars=yes,resizable=no';
   popupWin=window.open('',Name,winSettings);
   popupWin.resizeTo(adjWidth,adjHeight);
   popupWin.document.write('<html><head><title>Image Window</title>');
   popupWin.document.write('<script language="javascript">');
   popupWin.document.write('function right(e) {');
   popupWin.document.write('  var msg = "This image is copyrighted by SturdiSteel Inc";');
   popupWin.document.write('  if (navigator.appName == "Netscape" && e.which == 3) {');
   popupWin.document.write('  alert(msg);');
   popupWin.document.write('  return false;');
   popupWin.document.write('  }');
   popupWin.document.write('  if (navigator.appName =="Microsoft Internet Explorer" && event.button==2) {');
   popupWin.document.write('  alert(msg);');
   popupWin.document.write('  return false;');
   popupWin.document.write('  }');
   popupWin.document.write('  else return true;');
   popupWin.document.write('  }');
   popupWin.document.write('function trap() {');
   popupWin.document.write('  if(document.images)');
   popupWin.document.write('  for(i=0;i<document.images.length;i++)');
   popupWin.document.write('  document.images[i].onmousedown = right;');
   popupWin.document.write('  }');
   popupWin.document.write('</script>');
   popupWin.document.write('</head><body topmargin="0" leftmargin="0" marginwidth="0" marginheight="0" style="margin: 0" onLoad="trap()">');
   popupWin.document.write('<Img border="0" src="'+Img+'">');
   popupWin.document.write('</body></html>');
   popupWin.document.close();
   popupWin.focus();
}


<!-------------- Launch The Agent Contact Form ------------->
function launchAgentContactWin(Url) {
   var Width = 520;
   var Height = 550;
   if (navigator.appName == 'Netscape') {
       adjWidth = Width + 21;
       adjHeight = Height +56;
   }
   else {
       adjWidth = Width + 26;
       adjHeight = Height + 71;
   }
   if((adjHeight + 60) > window.screen.availHeight) {
     adjHeight = window.screen.availHeight - 60;
   }
   winSettings="width="+adjWidth+",height="+adjHeight+',left=50,top=50,status=no,location=no,directories=no,menubar=no,toolbar=no,resizable=no,scrollbars=yes';
   popupWin=window.open(Url,"AgentContactForm",winSettings);
   popupWin.resizeTo(adjWidth,adjHeight);
   popupWin.focus();
 }


<!-------- Launch The Agent Type Query Window ---------->
function launchAgentQueryWin(areaUrl) {
   var Width = 385;
   var Height = 50;
   if (navigator.appName == 'Netscape') {
       adjWidth = Width + 21;
       adjHeight = Height +56;
   }
   else {
       adjWidth = Width + 21;
       adjHeight = Height + 58;
   }
   winSettings="width="+adjWidth+",height="+adjHeight+',left=50,top=50,status=no,location=no,directories=no,menubar=no,toolbar=no,resizable=no,scrollbars=yes';
   popupWin=window.open(areaUrl,"AgentContactForm",winSettings);
   popupWin.resizeTo(adjWidth,adjHeight);
   popupWin.focus();
 }
