// This file contains intellectual property and artistic creations 
// by Dennis Sandow and is copyright 2000-2010 by the author. 
// For use only on websites maintained by Dennis Sandow, or with
// specific permission.  Do not remove this notice.

var gps=new Array();
gps['lhpdhq']='40,40,09.4,74,29,33.7,POLICE HEADQUARTERS,stis';
gps['commuctr']='40,40,00.9,74,29,26.4,the COMMUNITY CENTER,stis';
gps['usedclothing']='40,39,59.6,74,29,28.5,the USED CLOTHING DROPBOX,stis';
gps['eyeglasses']='40,40,02.2,74,29,19.5,the EYGLASSES DROPBOX,stis';
gps['littlelg']='40,39,52.0,74,29,10.6,the LITTLE LEAGUE FIELDS,stis';
gps['townhall']='40,40,33.4,74,31,09.0,TOWN HALL,stis';
gps['trailside']='40,40,59.7,74,22,22.1,the TRAILSIDE MUSEUM';
gps['millpo']='40,40,25,74,31,25,the MILLINGTON POST OFFICE,milc';
gps['stirpo']='40,40,02.2,74,29,19.5,the STIRLING POST OFFICE,stis';
gps['gillpo']='40,40,29.7,74,27,53.4,the GILLETTE POST OFFICE,gill';
gps['ups']='40,40,24.4,74,27,58.8,the UPS DROP BOX';
gps['statetax']='40,33,56.8,74,36,32.4,the STATE TAX OFFICE';
gps['irsm']='40,41,07.4,74,10,16.5,the IRS OFFICE in Mountainside';
// gps['library']='40,40,39.1,74,29,51.2,the LIBRARY,stic';
gps['library']='40,40,10.2,74,28,39.7,the LIBRARY,stis';
gps['beacon']='40,40,49.2,74,29,56.2,the REVOLUTIONARY WAR BEACON PLAQUE,stic';
gps['gsnwrobs']='40,42,44.6,74,29,14.3,the GREAT SWAMP OBSERVATION CENTER,swpe';
gps['raptortrust']='40,41,47.4,74,30,07.2,the RAPTOR TRUST,swpw';
gps['largolane']='40,40,30.4,74,30,40.4,the LARGO LANE PARKING AREA,milc';
gps['gshike']='40,42,22.3,74,28,04.7,the WHITE BRIDGE ROAD PARKING AREA,swpe';
gps['lakeparking']='40,40,42.1,74,29,41.5,the ENTRANCE TO STIRLING LAKE PARKING LOT,stic';
gps['gorge']='40,40,40.4,74,31,41.8,the MILLINGTON HIGH BRIDGE,milc';
gps['MCBSS']='40,50,25.5,74,27,30.4,MORRIS COUNTY SOCIAL SERVICES';
gps['irsp']='40,50,25.5,74,27,30.4,the IRS OFFICE in Parsippany';
gps['SocSec']='40,50,59.4,74,28,18.2,the SOCIAL SECURITY OFFICE';
gps['DmvMorristown']='40,48,20.2,74,28,59.0,the MORRISTOWN MOTOR VEHICLE AGENCY';
gps['garabrant']='40,46,42.4,74,36,15.1,the GARABRANT CENTER in MENDHAM';
gps['indiabrook']='40,48,02.9,74,37,28.9,the TEN TOWNS COMMITTEE OFFICE';
// the rose is at %%86%%
function Gps(arg){
  MapQ='';Xsticky='';
  if ( isPrint ) { window.status='Latitude and Longitude do not popup on the Printable Page'; return true;};
  gpp=gps[arg].split( ',' ) ;
  if (gpp[6] ) {
    overlibCaption='The exact location (WGS84) of<br>&nbsp;'+gpp[6]+' is:&nbsp;'; 
  } else {
    overlibCaption='The exact location (WGS84) is:'; 
  };
  coord='<nobr>&nbsp;&nbsp;&nbsp;'+gpp[0]+'°'+gpp[1]+'&#146;'+gpp[2]+'&#148; North Latitude&nbsp;&nbsp;</nobr><br><nobr>&nbsp;&nbsp;&nbsp;'+gpp[3]+'°'+gpp[4]+'&#146;'+gpp[5]+'&#148; West Longitude&nbsp;&nbsp;</nobr>' ;
  sword='Location of '+gpp[6];
  if (gpp[7] ) {
// for lib home.  One map only.  No edge links.  Just send picture.  
    MapURL = (typeof arguments[1] == udf)?('map'+gpp[7]+'.htm'):(pixPath+'map'+gpp[7]+'.jpg');
    wholeHref="javascript:NewWd('"+MapURL+"')";
    MapQ = '<br><center><a href="'+wholeHref+'" onMouseout="window.status=window.defaultStatus; return true;" onMouseover="window.status=\'Map will open in a new window\'; return true;">Map</a></center>';
    Xsticky=STICKY;
  };
  overlib('<b>'+coord+'</b>'+MapQ,CAPTION,overlibCaption,CENTER,VAUTO,WIDTH,300,TEXTSIZE,2,STATUS,sword,Xsticky);
  return true;
};
