
//if (GBrowserIsCompatible()) 
	var map = new Map("mapContainer", "eM8NMRfV34GP1eWo9IkLdzO6jInukrQ29kSWhlDJqCiiaa.ucLG_xU6eYrGS_J5a3i0Xzg--", "40.7559,-73.98513", 2);
map.addWidget(new SatelliteControlWidget());

map.addTool( new PanTool(), true);
navWidget = new NavigatorWidget();
marker1 = new CustomPOIMarker( 'The Premier', ' ', '133 West 44th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=41426&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker2 = new CustomPOIMarker( 'Millennium Broadway', ' ', '145 West 44th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=24875&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker3 = new CustomPOIMarker( 'Courtyard by Marriott', 'Times Square South', '114 West 40th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=10302&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker4 = new CustomPOIMarker( 'Times Square', ' ', '40.7559,-73.98513', '0xB42A2A', '0xFFFFFF');
marker5 = new CustomPOIMarker( 'Paramount Hotel', 'at Times Square ', '235 West 46th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=232609&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker6 = new CustomPOIMarker( 'Bryant Park Hotel', ' ', '40 W 40th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=179423&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker7 = new CustomPOIMarker( 'Residence Inn', 'By Marriott', '1033 Avenue of the Americas, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=188380&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker8 = new CustomPOIMarker( 'Hotel QT', ' ', '125 West 45th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=190451&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker9 = new CustomPOIMarker( 'Hilton Times Square', ' ', '234 West 42nd Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=16498&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker10 = new CustomPOIMarker( 'Sofitel New York', ' ', '45 West 44th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=182987&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker11 = new CustomPOIMarker( 'The Iroquois', ' ', '49 West 44th St, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=190349&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker12 = new CustomPOIMarker( 'Americana Inn', ' ', '69 West 38th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=191337&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker13 = new CustomPOIMarker( 'Marriott Marquis', ' ', '1535 Broadway, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=24337&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker14 = new CustomPOIMarker( 'The Westin', 'at Times Square', '270 West 43rd Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=43347&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker15 = new CustomPOIMarker( 'Courtyard by Marriott', 'Fifth Avenue', '3 East 40th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=190672&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker16 = new CustomPOIMarker( 'Econo Lodge', 'at Times Square', '302 West 47th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=43651&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');
marker17 = new CustomPOIMarker( 'Algonquin', ' ', '59 West 44th Street, New York, NY<br><a href="http://hotelsearch.timessquarehotelservice.com/v5/redir.aspx?type=property&pid=254980&siteid=9221&cur=USD" target="_self">Reservations, Photos, & more info!</a>', '0x764A33', '0xFFFFFF');

map.addMarkerByAddress( marker1, "133 West 44th Street, New York, NY 10036" )
map.addMarkerByAddress( marker2, "145 West 44th Street, New York, NY 10036" )
map.addMarkerByAddress( marker3, "114 West 40th Street, New York, NY 10018" )
map.addMarkerByAddress( marker4, "40.7559,-73.98513" )
map.addMarkerByAddress( marker5, "235 West 46th Street, New York, NY 10036" )
map.addMarkerByAddress( marker6, "40 W 40th Street, New York, NY 10018" )
map.addMarkerByAddress( marker7, "1033 Avenue of the Americas, New York, NY 10018" )
map.addMarkerByAddress( marker8, "125 West 45th Street, New York, NY 10036" )
map.addMarkerByAddress( marker9, "234 West 42nd Street, New York, NY 10036" )
map.addMarkerByAddress( marker10, "45 West 44th Street, New York, NY 10036" )
map.addMarkerByAddress( marker11, "49 West 44th St, New York, NY 10036" )
map.addMarkerByAddress( marker12, "69 West 38th Street, New York, NY 10018" )
map.addMarkerByAddress( marker13, "1535 Broadway, New York, NY 10036" )
map.addMarkerByAddress( marker14, "270 West 43rd Street, New York, NY 10036" )
map.addMarkerByAddress( marker15, "3 East 40th Street, New York, NY 10016" )
map.addMarkerByAddress( marker16, "302 West 47th Street, New York, NY 10036" )
map.addMarkerByAddress( marker17, "59 West 46th Street, New York, NY 10028" )
map.addWidget(navWidget);
