function gen_pop(h,w,tb,mb,sb,loc) {
    var settings = 'height=' + h + ',';
    settings += 'width=' + w + ',';
    settings += 'toolbar=' + tb + ',';
    settings += 'menubar=' + mb + ',';
    settings += 'scrollbars=' + sb + ',';
    settings += 'location=' + loc + ',';
	settings += 'directories=no,status=yes,resizable=yes,left=0,top=0,';
	window.open('','popup_win',settings)
}

function short_list() {
	window.open('','popup_win','height=max,width=800,toolbar=yes,menubar=no,scrollbars=yes,location=http://www.airportproperty.com/listman/exec/search.cgi?search=1&template=_search_shortlist.html,directories=no,status=yes,resizable=yes,left=0,top=0')
}

menu_status = new Array();function showHide(smname,theidnum){
    theid = smname + theidnum;
    if (document.getElementById) {
    var switch_id = document.getElementById(theid);        if(menu_status[theid] != 'show') {           switch_id.className = 'show';           menu_status[theid] = 'show';        } else {           switch_id.className = 'hide';           menu_status[theid] = 'hide';        }
        for(var i=1; i < 6; i++) {
	   if(i != theidnum) {
	      theid = smname + i;
    	      var switch_id = document.getElementById(theid);              switch_id.className = 'hide';              menu_status[theid] = 'hide';
	   }
        }
    }}

function ClearAllMenu() {
	document.getElementById('shade_column2').style.display = 'none'; 
	document.getElementById('shade_column3').style.display = 'none'; 
	document.getElementById('promotext').className = '';
	var navmain_li = document.getElementById('nav_main').getElementsByTagName('li');
	for(var i=0; i< navmain_li.length; i++) {
		navmain_li[i].className = '';
	}
}
sfTopHover = function() {
	var sfTopEls = document.getElementById("menu_container").getElementsByTagName("li");
	for (var i=0; i<sfTopEls.length; i++) {
		sfTopEls[i].onmouseover=function() {
			this.className+=" sftophover";
		}
		sfTopEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sftophover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfTopHover);
