//Implied globals for JSLint
//From Google Maps
/*globals GLatLng, GPolygon */

// From NYCVP
/*globals NYCVPMapObjectClass, createNewArray */

// Times Square Overlay
var timeSq = createNewArray('timesq');

// Class definition of restaurant object
TimeSqObj.DeriveFrom(NYCVPMapObjectClass);
function TimeSqObj(overlay)
{
	this.currentState = 0;
	this.overlay = overlay;
	this.legend = false;
	this.polyOverlay = null;
}

function loadTimeSquare()
	{
		timeSq[0] = new TimeSqObj(new GPolygon([
										new GLatLng(40.76412881110742, -73.98480892181396),
										new GLatLng(40.75596974281819, -73.99081707000732),
										new GLatLng(40.75356408930207, -73.98510932922363),
										new GLatLng(40.76175595827059, -73.97905826568604),
										new GLatLng(40.76412881110742, -73.98480892181396)],
										"#f33f00", 2, 1, "#ff0000", 0.2));
	}
