//Implied globals for JSLint
// From Tips
/*globals ABOVE, BALLOON, BALLOONSTEMOFFSET, OFFSETX, Tip, UnTip */
// From NYCVP
/*globals NYCVPMapObjectClass, createNewArray */

var theaters = createNewArray('theaters');

// Class definition of restaurant object
Theater.DeriveFrom(NYCVPMapObjectClass);
function Theater(name, address, Lat, Long)
{
	// call super classes constructor
	this.NYCVPMapObjectClass(name, Lat, Long);
	this.markerColor = "blue";
	this.swapShadowColor = true;
	this.legend = true;
	this.legendTab = 'legendTab3';
	this.desc = '<div id="theaterDesc">' + name + '<br /><span class="theaterAddress">' + address + '</span></div>';
	this.address = address;
}

Theater.prototype.tip = function()
{
	Tip('<b>' + this.name + '<br />' + this.address, BALLOON, true, ABOVE, true, OFFSETX, -25, BALLOONSTEMOFFSET, -5);
};

theaters[0]= new Theater("Al Hirschfeld Theater","302 West 45th Street<br />New York, NY 10036",40.759277, -73.989183);
theaters[1]= new Theater("Ambassador Theater","219 West 49th Street<br />New York, NY 10019",40.761098, -73.985236);
theaters[2]= new Theater("American Airlines Theater","227 West 42nd Street<br />New York, NY 10036",40.756653, -73.988411);
theaters[3]= new Theater("August Wilson Theater","245 West 52nd Street<br />New York, NY 10019",40.763205, -73.984401);
theaters[4]= new Theater("Belasco Theater","111 West 44th Street<br />New York, NY 10036",40.756618, -73.983766);
theaters[5]= new Theater("Bernard B Jacobs Theater (Royale Theater)","242 West 45th Street<br />New York, NY 10036",40.758625, -73.987701);
theaters[6]= new Theater("Biltmore Theater","261 West 47th Street<br />New York, NY 10036",40.760481, -73.986713);
theaters[7]= new Theater("Booth Theater","222 West 45th Street<br />New York, NY 10036",40.758624, -73.987127);
theaters[8]= new Theater("Broadhurst Theater","235 West 44th Street<br />New York, NY 10036",40.758275, -73.987604);
theaters[9]= new Theater("Broadway Theater","1681 Broadway<br />New York, NY 10036",40.763437, -73.983416);
theaters[10]= new Theater("Brooks Atkinson Theater","256 West 47th Street<br />New York, NY 10036",40.759944, -73.986964);
theaters[11]= new Theater("Circle in the Square Theater","1633 Broadway<br />New York, NY 10019",40.761855, -73.983754);
theaters[12]= new Theater("Cort Theater","138 West 48th Street<br />New York, NY 10036",40.759138, -73.983085);
theaters[13]= new Theater("Ethel Barrymore Theater","243 West 47th Street<br />New York, NY 10036",40.760207, -73.986129);
theaters[14]= new Theater("Eugene O'Neill Theater","230 West 49th Street<br />New York, NY 10038",40.761167, -73.985742);
theaters[15]= new Theater("Gerald Schoenfeld Theater","236 West 45th Street<br />New York, NY 10036",40.758718, -73.987344);
theaters[16]= new Theater("Gershwin Theater","222 West 51st Street<br />New York, NY 10019",40.762584841149206, -73.98488402366638);
theaters[17]= new Theater("Helen Hayes Theater","240 West 44th Street<br />New York, NY 10036",40.75786, -73.987849);
theaters[18]= new Theater("Henry Miller's","124 West 43rd street<br />New York, NY 10036",40.755826, -73.984995);
theaters[19]= new Theater("Hilton Theater","214 West 43rd Street<br />New York, NY 10019",40.75692, -73.987032);
theaters[20]= new Theater("Imperial Theater","249 West 45th Street<br />New York, NY 10036",40.759102, -73.98711);
theaters[21]= new Theater("John Golden Theater","252 West 45th Street<br />New York, NY 10036",40.758713, -73.98795);
theaters[22]= new Theater("Longacre Theater","220 West 48th Street<br />New York, NY 10036",40.760447, -73.985955);
theaters[23]= new Theater("Lunt-Fontanne Theater","205 West 46th Street<br />New York, NY 10036",40.758675, -73.985318);
theaters[24]= new Theater("Lyceum Theater","149 West 45th Street<br />New York, NY 10036",40.757841, -73.984483);
theaters[25]= new Theater("Majestic Theater","247 West 44th Street<br />New York, NY 10036",40.758246, -73.98816);
theaters[26]= new Theater("Marquis Theater","1535 Broadway<br />New York, NY 10036",40.7586, -73.985385);
theaters[27]= new Theater("Minskoff Theater","1515 Broadway<br />New York, NY 10036",40.757745, -73.985795);
theaters[28]= new Theater("Mitzi E Newhouse Theater","150 West 56th Street<br />New York, NY 10023",40.76415, -73.979763);
theaters[29]= new Theater("Music Box Theater","239 West 45th Street<br />New York, NY 10036",40.758887, -73.987106);
theaters[30]= new Theater("Nederlander Theater","208 West 41st Street<br />New York, NY 10036",40.755462, -73.988327);
theaters[31]= new Theater("Neil Simon Theater","250 West 52nd Street<br />New York, NY 10036",40.763262, -73.984535);
theaters[32]= new Theater("New Amsterdam Theater","214 West 42nd Street<br />New York, NY 10036",40.755948, -73.988048);
theaters[33]= new Theater("Palace Theater","1564 Broadway<br />New York, NY 10036",40.759154, -73.985162);
theaters[34]= new Theater("Richard Rodgers Theater","226 West 46th Street<br />New York, NY 10036",40.759039, -73.98672);
theaters[35]= new Theater("Shubert Theater","225 West 44th Street<br />New York, NY 10036",40.757956, -73.987468);
theaters[36]= new Theater("St. James Theater","246 West 44th Street<br />New York, NY 10036",40.757992, -73.988159);
theaters[37]= new Theater("Studio 54","254 West 54th Street<br />New York, NY 10019",40.764363, -73.983805);
theaters[38]= new Theater("Vivian Beaumont Theater","150 West 65th Street<br />New York, NY 10023",40.773636, -73.983617);
theaters[39]= new Theater("Walter Kerr Theater","218 West 48th Street<br />New York, NY 10036",40.760518, -73.985766);
theaters[40]= new Theater("Winter Garden Theater","1634 Broadway<br />New York, NY 10019",40.761629, -73.983453);