function openMap(ServiceName) {
  var PageTitle = document.title;
  var ParkName = PageTitle.replace(/Boone County Parks and Recreation: /,'');
  // alert('Park name = ' + ParkName);
  switch(ParkName)
  {
  case 'Camp Ernst Lake':
    ServiceName += "/viewer.htm?startleft=1502351&startbottom=543561&startright=1514263&starttop=549389";
  break;

  case 'Middle Creek Park':
    ServiceName += "/viewer.htm?startleft=1470004&startbottom=540232&startright=1492484&starttop=551230";
  break;
  
  case 'Central Park & Arboretum':
    ServiceName += "/viewer.htm?startleft=1501096&startbottom=531195&startright=1512254&starttop=536657";
  break;
  
  case 'Boone Woods Park':
    ServiceName += "/viewer.htm?startleft=1507675&startbottom=554589&startright=1513027&starttop=557382";
  break;
  
  case 'England–Idlewild Park & Dog Park':
    ServiceName += "/viewer.htm?startleft=1495450&startbottom=557675&startright=1512556&starttop=566049";
  break;	
  
  case 'Fox Run':
    ServiceName += "/viewer.htm?startleft=1517840&startbottom=546471&startright=1519914&starttop=547486"
  break;

  case 'Florence Nature Park':
    ServiceName += "/viewer.htm?startleft=1534293&startbottom=545491&startright=1537511&starttop=547067";
  break;
  
  case 'Lincoln Woods':
    ServiceName += "/viewer.htm?startleft=1523058&startbottom=540622&startright=1525806&starttop=541966";
  break;
  
  case 'Walton Community Park':
    ServiceName += "/viewer.htm?startleft=1531377&startbottom=495819&startright=1537974&starttop=499047";
  break;
  
  case 'Giles Conrad Park':
    ServiceName += "/viewer.htm?startleft=1502522&startbottom=589632&startright=1513729&starttop=595115";
  break;
  
  case 'Gunpowder Creek Nature Park':
    ServiceName += "/viewer.htm?startleft=1501853&startbottom=544850&startright=1510610&starttop=549134";
  break;
  
  case 'Union Pool':
    ServiceName += "/viewer.htm?startleft=1515480&startbottom=523754&startright=1520610&starttop=526264";
  break;
  
  case 'Shor Lake':
    ServiceName += "/viewer.htm?startleft=1535813&startbottom=517051&startright=1540219&starttop=519207";
  break;
  
  case 'Oakbrook Park':
    ServiceName += "/viewer.htm?startleft=1514329&startbottom=548177&startright=1515971&starttop=548981";
  break;
}
  
ServicePath = "http://arcims.boonecountygis.com/MappingServices/"  
  FullServiceName = ServicePath + ServiceName 
  w = screen.availWidth-10;
  h = screen.availHeight-20;
  features = "width="+w+",height="+h+",left=0,top=0,screenX=0,screenY=0";
  window.open(FullServiceName, "", features);
}

