function citySelect() {
	var current_item
	current_item = form.city.options[form.city.selectedIndex].value;
	var URL = 'directory.asp?city='+ current_item
	window.location.href = URL;
}

function printable(){
    var bgc;
    var fgc;
    var lc;
    var vlc;
    var alc;
    var bkg;
    bgc = document.bgColor;
    fgc = document.fgColor;
    lc =  document.linkColor;
    vlc = document.vlinkColor;
    alc = document.alinkColor; 
    bkg = document.body.background;
    document.bgColor = "white"; 
    document.fgColor = "black";
    document.linkColor = "black";
    document.vlinkColor = "black";
    document.alinkColor = "black";
    document.body.background = "";
    focus()
    print()
    document.bgColor = bgc;
    document.fgColor = fgc;
    document.linkColor = lc;
    document.vlinkColor = vlc;
    document.alinkColor = alc;
    document.body.background = bkg;
}

function outBookmark(){
    if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
    var url="http://www.javascriptsource.com";
    var title="The JavaScript Source";
    document.write('<A HREF="javascript:window.ext');
    document.write('ernal.AddFavorite(url,title);" ');
    document.write('onMouseOver=" window.status=');
    document.write("'Add our site to your favorites!'; return true ");
    document.write('"onMouseOut=" window.status=');
    document.write("' '; return true ");
    document.write('"><img src=images/bookmark.gif width=16 height=16 border=0> Bookmark this site</a>');
    }
    else {
    var msg = "<img src=images/bookmark.gif width=16 height=16 border=0> Bookmark us!";
    if(navigator.appName == "Netscape") msg += "  (CTRL-D)";
    document.write(msg);
}
}

function TellAFriend(tellAFriendPageTitle){
	if ((tellAFriendPageTitle == undefined) ||
          (tellAFriendPageTitle == null) ||
          (tellAFriendPageTitle == "") ||
          (/^\s+$/.test(tellAFriendPageTitle)))
       {
           tellAFriendPageTitle = document.title;
      }
       location = "/tellafriend.asp?PAGE_TITLE=" + escape(tellAFriendPageTitle);
}
