// MAP POPUP PAGES
function openWin( windowURL, windowName, windowFeatures ) { 
		return window.open( windowURL, windowName, windowFeatures ) ; 
	} 
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}

<!--
function land(ref, target)
{
lowtarget=target.toLowerCase();
if (lowtarget=="_self") {window.location=loc;}
else {if (lowtarget=="_top") {top.location=loc;}
else {if (lowtarget=="_blank") {window.open(loc);}
else {if (lowtarget=="_parent") {parent.location=loc;}
else {parent.frames[target].location=loc;};
}}}
}
function jump(menu)
{
ref=menu.choice.options[menu.choice.selectedIndex].value;
splitc=ref.lastIndexOf("*");
target="";
if (splitc!=-1)
{loc=ref.substring(0,splitc);
target=ref.substring(splitc+1,1000);}
else {loc=ref; target="_self";};
if (ref != "") {land(loc,target);}
}
//-->

<!--
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_1023161620_0) return;
  window.mm_menu_1023161620_0_1 = new Menu("Building&nbsp;Department",167,20,"Arial, Helvetica, sans-serif",12,"#ffffff","#000000","#afbe7d","#ecb917","left","middle",4,0,1000,-5,7,true,true,true,0,false,true);
    mm_menu_1023161620_0_1.addMenuItem("Building&nbsp;Inspection","location='http://www.districtofcoldstream.ca/services/building/bi/index.php'");
    mm_menu_1023161620_0_1.addMenuItem("Business&nbsp;Licencing","location='http://www.districtofcoldstream.ca/services/building/bl/index.php'");
    mm_menu_1023161620_0_1.addMenuItem("Bylaw&nbsp;Enforcement");
     mm_menu_1023161620_0_1.fontWeight="bold";
     mm_menu_1023161620_0_1.hideOnMouseOut=true;
     mm_menu_1023161620_0_1.bgColor='#555555';
     mm_menu_1023161620_0_1.menuBorder=0;
     mm_menu_1023161620_0_1.menuLiteBgColor='#ffffff';
     mm_menu_1023161620_0_1.menuBorderBgColor='#555555';
    window.mm_menu_1023161620_0_2 = new Menu("Public&nbsp;Works",167,20,"Arial, Helvetica, sans-serif",12,"#ffffff","#000000","#afbe7d","#ecb917","left","middle",4,0,1000,-5,7,true,true,true,0,false,true);
    mm_menu_1023161620_0_2.addMenuItem("Garbage&nbsp;Collection","location='http://www.districtofcoldstream.ca/services/publicworks/garbage/index.php'");
     mm_menu_1023161620_0_2.fontWeight="bold";
     mm_menu_1023161620_0_2.hideOnMouseOut=true;
     mm_menu_1023161620_0_2.bgColor='#555555';
     mm_menu_1023161620_0_2.menuBorder=0;
     mm_menu_1023161620_0_2.menuLiteBgColor='#ffffff';
     mm_menu_1023161620_0_2.menuBorderBgColor='#555555';
  window.mm_menu_1023161620_0 = new Menu("root",205,20,"Arial, Helvetica, sans-serif",12,"#ffffff","#000000","#afbe7d","#ecb917","left","middle",4,0,1000,-5,7,true,true,true,0,false,true);
  mm_menu_1023161620_0.addMenuItem("Organization&nbsp;Chart","window.open('http://www.districtofcoldstream.ca/services/administration/organization_chart.pdf', '_blank');");
  mm_menu_1023161620_0.addMenuItem("Agriculture&nbsp;Area&nbsp;Plan","location='http://www.districtofcoldstream.ca/services/agricultural_area_plan/index.php'");
  mm_menu_1023161620_0.addMenuItem(mm_menu_1023161620_0_1,"location='http://www.districtofcoldstream.ca/services/building/index.php'");
  mm_menu_1023161620_0.addMenuItem("Cemetery","location='http://www.districtofcoldstream.ca/services/cemetery/index.php'");
  mm_menu_1023161620_0.addMenuItem("Chief&nbsp;Administrative&nbsp;Officer","location='http://www.districtofcoldstream.ca/services/administration/cao.php'");
  /* mm_menu_1023161620_0.addMenuItem("Community&nbsp;Policing","location='http://www.districtofcoldstream.ca/services/communitypolicing/index.php'"); */
  
  mm_menu_1023161620_0.addMenuItem("Development&nbsp;Services","location='http://www.districtofcoldstream.ca/services/planning/index.php'");
  mm_menu_1023161620_0.addMenuItem("Dog&nbsp;Control&nbsp;&amp;&nbsp;Animals","location='http://www.districtofcoldstream.ca/services/dog/index.php'");
  mm_menu_1023161620_0.addMenuItem("Economic&nbsp;Development","window.open('http://www.greatervernon.ca', '_blank');");
  mm_menu_1023161620_0.addMenuItem("Emergency&nbsp;Planning","location='http://www.districtofcoldstream.ca/services/emergency/index.php'");
  mm_menu_1023161620_0.addMenuItem("Finance","location='http://www.districtofcoldstream.ca/services/finance/index.php'");
  mm_menu_1023161620_0.addMenuItem("Fire","location='http://www.districtofcoldstream.ca/services/fire/index.php'");
  mm_menu_1023161620_0.addMenuItem("Municipal&nbsp;Clerk/Corporate&nbsp;Officer","location='http://www.districtofcoldstream.ca/services/administration/index.php'");
  mm_menu_1023161620_0.addMenuItem("Parks&nbsp;and&nbsp;Recreation","location='http://www.districtofcoldstream.ca/services/parksrecreation/index.php'");
  mm_menu_1023161620_0.addMenuItem("Police","location='http://www.districtofcoldstream.ca/services/communitypolicing/police.php'");
  mm_menu_1023161620_0.addMenuItem(mm_menu_1023161620_0_2,"location='http://www.districtofcoldstream.ca/services/publicworks/index.php'");
   mm_menu_1023161620_0.fontWeight="bold";
   mm_menu_1023161620_0.hideOnMouseOut=true;
   mm_menu_1023161620_0.childMenuIcon="http://www.districtofcoldstream.ca/images/arrows.gif";
   mm_menu_1023161620_0.bgColor='#555555';
   mm_menu_1023161620_0.menuBorder=0;
   mm_menu_1023161620_0.menuLiteBgColor='#ffffff';
   mm_menu_1023161620_0.menuBorderBgColor='#555555';
          window.mm_menu_1023161620_1 = new Menu("root",237,20,"Arial, Helvetica, sans-serif",12,"#ffffff","#000000","#afbe7d","#ecb917","left","middle",4,0,1000,-5,7,true,true,true,0,false,true);
  mm_menu_1023161620_1.addMenuItem("Mayor&nbsp;&&nbsp;Councillors","location='http://www.districtofcoldstream.ca/council/index.php'");
  mm_menu_1023161620_1.addMenuItem("2009&nbsp;Regular&nbsp;Council&nbsp;Meeting&nbsp;Schedule","window.open('http://www.districtofcoldstream.ca/council/meeting_schedule.pdf', '_blank');");
  mm_menu_1023161620_1.addMenuItem("Appearing&nbsp;Before&nbsp;Council","location='http://www.districtofcoldstream.ca/council/council.php'");
  mm_menu_1023161620_1.addMenuItem("Council&nbsp;Meeting&nbsp;Minutes&nbsp;&&nbsp;Agendas","location='http://www.districtofcoldstream.ca/council/minutes.php'");
  mm_menu_1023161620_1.addMenuItem("Committee&nbsp;&&nbsp;Board&nbsp;Appointments","window.open('http://www.districtofcoldstream.ca/council/committee_appointments.pdf', '_blank');");
  mm_menu_1023161620_1.addMenuItem("Committee&nbsp;Minutes&nbsp;&&nbsp;Agendas","location='http://www.districtofcoldstream.ca/council/committee_minutes.php'");
  mm_menu_1023161620_1.addMenuItem("Committee&nbsp;Handbook","window.open('http://www.districtofcoldstream.ca/council/committee_handbook.pdf', '_blank');");
  mm_menu_1023161620_1.addMenuItem("2008&nbsp;Election&nbsp;Official&nbsp;Results","window.open('http://www.districtofcoldstream.ca/election/2008_official_results.pdf', '_blank');");
   mm_menu_1023161620_1.fontWeight="bold";
   mm_menu_1023161620_1.hideOnMouseOut=true;
   mm_menu_1023161620_1.bgColor='#555555';
   mm_menu_1023161620_1.menuBorder=0;
   mm_menu_1023161620_1.menuLiteBgColor='#ffffff';
   mm_menu_1023161620_1.menuBorderBgColor='#555555';

mm_menu_1023161620_1.writeMenus();
} // mmLoadMenus()

//-->

<!-- 
function goThere() {
  if (document.quickLinks.linkList[document.quickLinks.linkList.selectedIndex].value != "") {
    location = document.quickLinks.linkList[document.quickLinks.linkList.selectedIndex].value
  }
}

var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
if(win.window.focus){win.window.focus();}
}

//-->
