<!--

var browserType = navigator.appName.charAt(0)+navigator.appVersion.charAt(0),myPopupWindow = '';


var myPopupWindow = '';
function openPopupWindow(url, name, width, height)
{
    //Remove special characters from name
    name = name.replace(/\/|\-|\./gi, "");

    //Remove whitespaces from name
    var whitespace = new RegExp("\\s","g");
    name = name.replace(whitespace,"");

    //If it is already open
    if (!myPopupWindow.closed && myPopupWindow.location)
    {
        myPopupWindow.location.href = encodeUrl(url);
    }
    else
    {
        myPopupWindow= window.open(url,name, "location=no, scrollbars=yes, resizable=yes, toolbar=no, menubar=no, width=" + width + ", height=" + height );
        if (!myPopupWindow.opener) myPopupWindow.opener = self;
    }

     //If my main window has focus - set it to the popup
    if (window.focus) {myPopupWindow.focus()}
}




function popup(myURL, myWidth, myHeight){
	  if (browserType=="N2") {
          siteWindow=window.open("","","toolbar=1,location=0,directories=0,status=0,menubar=1, scrollbars=1,resizable=1,left=" + (screen.width-myWidth)/2 + ", top="+ (screen.height-myHeight)/2+",width="+myWidth+",height="+myHeight);
		  siteWindow.opener=self;
		  siteWindow=myURL;
	  }
	if (browserType.charAt(0)=="M") {
      siteWindow=window.open(myURL,"","toolbar=1,location=0,directories=0,status=0,menubar=1, scrollbars=1,resizable=1,left=" + (screen.width-myWidth)/2 + ", top="+ (screen.height-myHeight)/2+", width="+myWidth+",height="+myHeight);
	  siteWindow.opener=self;
	}
	else {
      siteWindow=window.open(myURL,"","toolbar=1,location=0,directories=0,status=0,menubar=1,scrollbars=1,resizable=1,left=" + (screen.width-myWidth)/2 + ", top="+ (screen.height-myHeight)/2+",width="+myWidth+",height="+myHeight);
	  siteWindow.opener=self;
	}
}
function MM_findObj(n, d) { //v4.01
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
  if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
  var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
function MM_swapImgRestore() { //v3.0
  var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function MM_preloadImages() { //v3.0
 var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
   var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
   if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}

function mmLoadMenus() {
  if (window.mm_menu_0610141806_0) return;
  window.mm_menu_0610141806_0 = new Menu("root",225,17,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0610141806_0.addMenuItem("A&nbsp;Brief&nbsp;of&nbsp;San&nbsp;Bernardino","location='qfbrief.htm'");
  mm_menu_0610141806_0.addMenuItem("City's&nbsp;Economy","location='edReports.html'");
  mm_menu_0610141806_0.addMenuItem("Benefits&nbsp;of&nbsp;Living&nbsp;in&nbsp;San&nbsp;Bernardino","location='qfbenefits.htm'");
  mm_menu_0610141806_0.addMenuItem("City&nbsp;Council&nbsp;Wards","location='qfcouncil.htm'");
  mm_menu_0610141806_0.addMenuItem("Chamber&nbsp;of&nbsp;Commmerce","location='qfchamber.htm'");
  mm_menu_0610141806_0.addMenuItem("Schools","location='qfschools.htm'");
  mm_menu_0610141806_0.addMenuItem("Intermodal/Metro&nbsp;Link&nbsp;Services","location='qfintermodal.htm'");
  mm_menu_0610141806_0.addMenuItem("San&nbsp;Bernardino&nbsp;International&nbsp;Airport","location='qfairport.htm'");
  mm_menu_0610141806_0.addMenuItem("News&nbsp;&amp;&nbsp;Events","location='qfmedia.htm'");
   mm_menu_0610141806_0.hideOnMouseOut=true;
   mm_menu_0610141806_0.menuBorder=1;
   mm_menu_0610141806_0.menuLiteBgColor='#ffffff';
   mm_menu_0610141806_0.menuBorderBgColor='#ececec';
   mm_menu_0610141806_0.bgColor='#fbfbfb';
  window.mm_menu_0610142706_1 = new Menu("root",225,17,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0610142706_1.addMenuItem("Historic&nbsp;California&nbsp;Theatre","location='vtheatre.htm'");
  mm_menu_0610142706_1.addMenuItem("Maya&nbsp;Theatres","location='vcinema.htm'");
  mm_menu_0610142706_1.addMenuItem("Route&nbsp;66&nbsp;Rendezvous","location='vrte66.htm'");
  mm_menu_0610142706_1.addMenuItem("National&nbsp;Orange&nbsp;Show","location='vorangeshow.htm'");
  mm_menu_0610142706_1.addMenuItem("Court&nbsp;Street&nbsp;Square","location='vcourtst.htm'");
  mm_menu_0610142706_1.addMenuItem("California&nbsp;Welcome&nbsp;Center","location='vwelcome.htm'");
  mm_menu_0610142706_1.addMenuItem("Convention&nbsp;&amp;&nbsp;Visitors&nbsp;Bureau","location='vsbvcb.htm'");
  mm_menu_0610142706_1.addMenuItem("Inland&nbsp;Empire&nbsp;66&nbsp;Baseball","location='v66ers.htm'");
  mm_menu_0610142706_1.addMenuItem("Western&nbsp;Region&nbsp;Little&nbsp;League","location='vlittleleague.htm'");
  mm_menu_0610142706_1.addMenuItem("San&nbsp;Bernardino&nbsp;Soccer&nbsp;Complex","location='vsoccer.htm'");
  mm_menu_0610142706_1.addMenuItem("Sturges&nbsp;Auditorium","location='vsturges.htm'");
  mm_menu_0610142706_1.addMenuItem("IE Film Commission","location='vfilm.htm'");
  mm_menu_0610142706_1.addMenuItem("Recreational&nbsp;&amp;&nbsp;Community&nbsp;Programs","window.open('http://www.sbcity.org/depts/parks/homepage.asp', '_blank');");
   mm_menu_0610142706_1.hideOnMouseOut=true;
   mm_menu_0610142706_1.menuBorder=1;
   mm_menu_0610142706_1.menuLiteBgColor='#ffffff';
   mm_menu_0610142706_1.menuBorderBgColor='#ececec';
   mm_menu_0610142706_1.bgColor='#fbfbfb';
  window.mm_menu_0610143513_2 = new Menu("root",310,17,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
   mm_menu_0610143513_2.addMenuItem("Brownfields&nbsp;Project","location='brownfields.htm'");
  mm_menu_0610143513_2.addMenuItem("Business&nbsp;Analyst&nbsp;Tool","location='edanalyst.htm'");
   mm_menu_0610143513_2.addMenuItem("Business&nbsp;Consulting&nbsp;Services","location='edconsulting.htm'");
   mm_menu_0610143513_2.addMenuItem("Business&nbsp;Partners / Business Support","location='edbizpartners.htm'");
mm_menu_0610143513_2.addMenuItem("City&nbsp;Council&nbsp;Wards","window.open('http://www.ci.san-bernardino.ca.us/depts/city_council/default.asp', '_blank');");
  mm_menu_0610143513_2.addMenuItem("City&nbsp;of&nbsp;San Bernardino&nbsp;Development&nbsp;Code,&nbsp;Municipal&nbsp;Code","location='eddevmuni.htm'");
  mm_menu_0610143513_2.addMenuItem("Demographics","location='eddemographics.htm'");
  mm_menu_0610143513_2.addMenuItem("Employment&nbsp;Assistance","location='edemploymnt.htm'");
  mm_menu_0610143513_2.addMenuItem("Enterprise&nbsp;Zone/Inland Valley Development Agency","location='edezone.htm'");
  mm_menu_0610143513_2.addMenuItem("FAQs","location='edfaqs.htm'");
  mm_menu_0610143513_2.addMenuItem("Financial&nbsp;Assistance","location='edfinance.htm'");
  mm_menu_0610143513_2.addMenuItem("Licensing&nbsp;and&nbsp;Permit","location='edlicensepermits.htm'");
  mm_menu_0610143513_2.addMenuItem("Redevelopment/Building&nbsp;Better&nbsp;Communities","location='edbuilding.htm'");
  mm_menu_0610143513_2.addMenuItem("Redevelopment&nbsp;Project&nbsp;Areas&nbsp;Merger&nbsp;and&nbsp;Amendments","location='edProjectMerger.html'");
  mm_menu_0610143513_2.addMenuItem("Redevelepment&nbsp;Project&nbsp;Areas&nbsp;and&nbsp;Projects","location='edredevproj.htm'");
  mm_menu_0610143513_2.addMenuItem("RFPs/Bid&nbsp;Proposals","location='edRFPandDocs.html'");
  mm_menu_0610143513_2.addMenuItem("Small&nbsp;Business&nbsp;Administration&nbsp;(SBA)","window.open('http://www.sba.gov/ca/santa', '_blank');");
 mm_menu_0610143513_2.addMenuItem("Things&nbsp;to&nbsp;Know&nbsp;for&nbsp;Business","location='edthingsknow.htm'");
  mm_menu_0610143513_2.addMenuItem("Transit&nbsp;Oriented&nbsp;Development&nbsp;Overlay&nbsp;District&nbsp;(TOD)","location='edTransit.html'");

   mm_menu_0610143513_2.hideOnMouseOut=true;
   mm_menu_0610143513_2.menuBorder=1;
   mm_menu_0610143513_2.menuLiteBgColor='#ffffff';
   mm_menu_0610143513_2.menuBorderBgColor='#ececec';
   mm_menu_0610143513_2.bgColor='#fbfbfb';
  window.mm_menu_0610144200_3 = new Menu("root",185,17,"Verdana, Arial, Helvetica, sans-serif",9,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0610144200_3.addMenuItem("EDA&nbsp;Property&nbsp;Management","location='propmgmt.htm'");
  mm_menu_0610144200_3.addMenuItem("FAQs","location='propmgmtFAQ.htm'");
   mm_menu_0610144200_3.hideOnMouseOut=true;
   mm_menu_0610144200_3.menuBorder=1;
   mm_menu_0610144200_3.menuLiteBgColor='#ffffff';
   mm_menu_0610144200_3.menuBorderBgColor='#ececec';
   mm_menu_0610144200_3.bgColor='#fbfbfb';
      window.mm_menu_0610144315_4_1_1 = new Menu("Homebuyer&nbsp;Assistance",225,17,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
      mm_menu_0610144315_4_1_1.addMenuItem("Downpayment&nbsp;Assistance","location='hsgdownpayment.htm'");
      mm_menu_0610144315_4_1_1.addMenuItem("CSUSB&nbsp;Professor&nbsp;Homebuyer&nbsp;Program","location='hsghomebuyCSUSB.htm'");
       mm_menu_0610144315_4_1_1.hideOnMouseOut=true;
       mm_menu_0610144315_4_1_1.menuBorder=1;
       mm_menu_0610144315_4_1_1.menuLiteBgColor='#ffffff';
       mm_menu_0610144315_4_1_1.menuBorderBgColor='#ececec';
       mm_menu_0610144315_4_1_1.bgColor='#fbfbfb';
    window.mm_menu_0610144315_4_1 = new Menu("Affordable&nbsp;Housing",245,17,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
    mm_menu_0610144315_4_1.addMenuItem("Homebuyer&nbsp;Assistance","location='hsghomebuyassistance.htm'");
	mm_menu_0610144315_4_1.addMenuItem("Neighborhood&nbsp;Stabilization&nbsp;Program","location='hsgNSP.htm'");
    mm_menu_0610144315_4_1.addMenuItem("Homebuyer&nbsp;Assistance&nbsp;FAQs","location='HomeBuyerAssitanceFAQ.htm'");
     mm_menu_0610144315_4_1.addMenuItem("CSUSB&nbsp;Professor&nbsp;Homebuyer&nbsp;Program","location='hsghomebuyCSUSB.htm'");
    mm_menu_0610144315_4_1.addMenuItem("Senior&nbsp;Housing&nbsp;and&nbsp;Programs","location='hsgseniorhousing.htm'");
    mm_menu_0610144315_4_1.addMenuItem("Mobile&nbsp;Homes","location='hsgmobilehome.htm'");
    mm_menu_0610144315_4_1.addMenuItem("EDA&nbsp;Assisted&nbsp;New&nbsp;Developments","location='hsgassistNewDev.htm'");
    mm_menu_0610144315_4_1.hideOnMouseOut=true;
     mm_menu_0610144315_4_1.childMenuIcon="images/arrows.gif";
     mm_menu_0610144315_4_1.menuBorder=1;
     mm_menu_0610144315_4_1.menuLiteBgColor='#ffffff';
     mm_menu_0610144315_4_1.menuBorderBgColor='#ececec';
     mm_menu_0610144315_4_1.bgColor='#fbfbfb';
  window.mm_menu_0610144315_4 = new Menu("root",187,17,"Verdana, Arial, Helvetica, sans-serif",11,"#ffffff","#000000","#0a6c6f","#339999","left","middle",3,0,1000,-5,7,true,true,true,0,true,true);
  mm_menu_0610144315_4.addMenuItem("Benefits&nbsp;of&nbsp;living&nbsp;in&nbsp;SBO","location='qfbenefits.htm'");
  mm_menu_0610144315_4.addMenuItem("Homeowner&nbsp;Education&nbsp;Classes","location='hsghomeownedu.htm'");
  mm_menu_0610144315_4.addMenuItem("Single&nbsp;Family&nbsp;Rehab&nbsp;Programs","location='hsgbeautification.htm'");
  mm_menu_0610144315_4.addMenuItem("Fair&nbsp;Housing&nbsp;Mediation","location='hsgfairhousing.htm'");
  mm_menu_0610144315_4.addMenuItem("Homeowner&nbsp;Utility&nbsp;Assistance","location='hsgutilassist.htm'");
  mm_menu_0610144315_4.addMenuItem(mm_menu_0610144315_4_1);
   mm_menu_0610144315_4.hideOnMouseOut=true;
   mm_menu_0610144315_4.childMenuIcon="images/arrows.gif";
   mm_menu_0610144315_4.menuBorder=1;
   mm_menu_0610144315_4.menuLiteBgColor='#ffffff';
   mm_menu_0610144315_4.menuBorderBgColor='#ececec';
   mm_menu_0610144315_4.bgColor='#fbfbfb';

  mm_menu_0610144315_4.writeMenus();
} // mmLoadMenus()

//-->
