		
function growImageArea(){
	$('#imageAreaDiv').animate({height: $('#imageAreaDiv').css('max-height')},1000,"swing"); 
}

function addMap(){
	if (GBrowserIsCompatible()) {
		var map 	= new GMap2(document.getElementById("findUs_map"));
		var lat		= 40.7032;
		var lon 	= -73.9905;
		var zoom	= 14;
		
		map.setCenter(new GLatLng( lat + 0 , lon + 0 ), zoom );
		
		map.addControl(new GSmallMapControl());
		map.addControl(new GMapTypeControl());
		
		// Create a base icon for all of our markers that specifies the
		// shadow, icon dimensions, etc.
		var baseIcon 				= new GIcon(G_DEFAULT_ICON);
		baseIcon.iconSize 			= new GSize(20, 20);
		baseIcon.shadowSize 		= new GSize(1, 1);
        baseIcon.iconAnchor 		= new GPoint(9, 20);
        baseIcon.infoWindowAnchor 	= new GPoint(9, 2);

		function createMarker(point, index, w, h, anchor) {
			var customIcon 			= new GIcon( baseIcon );
			customIcon.image 		= js_url + "../images/icons/marker_" + index + ".png";
			customIcon.iconSize 	= new GSize( w, h );
      	  	customIcon.iconAnchor 	= anchor;
			
			markerOptions 			= { icon:customIcon };
			var marker 				= new GMarker( point, markerOptions );
			
			return marker;
		}
		
		// f train
		var latlng = new GLatLng( lat - .0016, lon + .0038 );
		map.addOverlay( createMarker(latlng, 'ftrain', 61 ,52, new GPoint( 0, 37 ) ));
		
		// a train
		latlng = new GLatLng( lat - .0041, lon + .0006 );
		map.addOverlay(createMarker(latlng, 'atrain', 82 ,48, new GPoint( 0, 16 ) ));
				
		// 2 train
		latlng = new GLatLng( lat - .0058, lon - .0025);
		map.addOverlay(createMarker(latlng, '2train', 83, 68, new GPoint( 81, 44 ) ));
		
		// bss
		latlng = new GLatLng( lat - .0003, lon-.0001
							 );
		map.addOverlay(createMarker(latlng, 'bss', 92, 63, new GPoint( 46, 63 ) ));
				
    }	
}

$('document').ready(
	function(){
		$('.imageSet a').lightBox();
		$('a.viewer').lightBox();
	}
);