function openWin (what, where, how) {
open("",where,"").close();
        popup = open(what,where,how+'toolbar=0,location=0,status=0,menubar=0,top=10,left=10')
    if(popup != null) {
        popup.location = what;
        if( navigator.appName.substring(0,8) == "Netscape" ) {
                        popup.location = what;
                        popup.opener = self;
        }
        if( navigator.appName == "Netscape" ) {
                popup.window.focus();
                }
                self.name = "main";
        }
}

function showWin(what,how) {
openWin(what,'xxx',how+'scrollbars=no,resizable=no,')
}

function showMap(what,how,name,street,city,phone) {
open("","xxx","").close();
   var winOpen =
       open('','xxx',how+'scrollbars=no,resizable=no,top=10,left=10')
       winOpen.document.write ('<table><tr><td width=20%><form><input type = button value="Print this Map" name="Print" onClick="window.print()"><\/form><\/td>');
       winOpen.document.write ('<td width=80%><center><b>'+name+'<br>'+street+'<br>'+city+'<br>'+phone+'<\/b><\/center><\/td><\/tr><\/table><img src="'+what+'">');
       winOpen.document.close();
          }