$(document).ready(function(){

/* Show jQuery is running */
$('h1').css({textDecoration: 'underline'});

$('#map').zoommap({
		// Width and Height of the Map
		width: '700px',
		height: '628px',
			
		//Misc Settings
		blankImage: 'images/blank.gif',
		zoomDuration: 600,
		bulletWidthOffset: '10px',
		bulletHeightOffset: '10px',
		
		//ids and classes
		zoomClass: 'zoomable',
		popupSelector: 'div.popup',
		popupCloseSelector: 'a.close',
		
		//Return to Parent Map Link
		showReturnLink: true,
		returnId: 'returnlink',
		returnText: '< return to Main Map',
		
		//Initial Region to be shown
		map: {
			id: 'main',
			image: 'images/homesourcemetro_mainmap.png',
			data: 'popups/main.php',
			maps: [
				   
				
					{
							id: 'esshomes',
							parent: 'main',
							image: 'images/esshomes.png',
							data: 'popups/esshomes.php',
							width: '222px',
							height: '360px',
							top: '230px',
							left: '473px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'gazette1',
							parent: 'main',
							image: 'images/gazette.png',
							data: 'popups/gazette.php',
							width: '180px',
							height: '441px',
							top: '161px',
							left: '345px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'gazette2',
							parent: 'main',
							image: 'images/gazette.png',
							data: 'popups/gazette.php',
							width: '80px',
							height: '80px',
							top: '555px',
							left: '486px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'gazette3',
							parent: 'main',
							image: 'images/gazette.png',
							data: 'popups/gazette.php',
							width: '42px',
							height: '273px',
							top: '159px',
							left: '302px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'gazette3',
							parent: 'main',
							image: 'images/gazette.png',
							data: 'popups/gazette.php',
							width: '34px',
							height: '113px',
							top: '173px',
							left: '265px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '125px',
							height: '196px',
							top: '362px',
							left: '159px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times2',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '48px',
							height: '107px',
							top: '397px',
							left: '111px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times3',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '78px',
							height: '42px',
							top: '318px',
							left: '208px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times4',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '55px',
							height: '40px',
							top: '278px',
							left: '228px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times5',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '19px',
							height: '37px',
							top: '339px',
							left: '285px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times6',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '60px',
							height: '48px',
							top: '444px',
							left: '284px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'times7',
							parent: 'main',
							image: 'images/times.png',
							data: 'popups/times.php',
							width: '23px',
							height: '2px',
							top: '419px',
							left: '284px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'herald',
							parent: 'main',
							image: 'images/herald.png',
							data: 'popups/herald.php',
							width: '147px',
							height: '108px',
							top: '32px',
							left: '224px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'herald2',
							parent: 'main',
							image: 'images/herald.png',
							data: 'popups/herald.php',
							width: '147px',
							height: '195px',
							top: '144px',
							left: '56px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'herald3',
							parent: 'main',
							image: 'images/herald.png',
							data: 'popups/herald.php',
							width: '47px',
							height: '113px',
							top: '144px',
							left: '203px'
							/* More maps can be nested
							maps : [ ]
							*/
					},
					{
							id: 'herald4',
							parent: 'main',
							image: 'images/herald.png',
							data: 'popups/herald.php',
							width: '23px',
							height: '22px',
							top: '144px',
							left: '251px'
							/* More maps can be nested
							maps : [ ]
							*/
					}
	
					]
			
	
		}
	});


});

