$(document).ready(function(){
	$('#map').zoommap({
		// Width and Height of the Map
		width: '608px',
		height: '522px',
		
		//Misc Settings
		blankImage: 'images/blank.gif',
		zoomDuration: 1000,
		bulletWidthOffset: '24px',
		bulletHeightOffset: '24px',
		
		//ids and classes
		zoomClass: 'zoomable',
		popupSelector: 'div.popup',
		popupCloseSelector: 'a.close',
		
		//Return to Parent Map Link
		showReturnLink: true,
		returnId: 'returnlink',
		returnText: 'return to campus map',
		
		//Initial Region to be shown
		map: {
			id: 'depistage',
			image: '/wp-content/themes/amodemaces/images/map_depistage.gif',
			data: '/wp-content/plugins/viewpoints/boxes.php?type='+encodeURI($('#type_cancer').val())
		}
	});
	
	
});
/*maps: [
{
	id: 'quads',
	parent: 'campus',
	image: 'images/quads.png',
	data: 'popups/stats.html',
	/*width: '608px',
	height: '522px',
	top: '0',
	left: '0'*/
	/* More maps can be nested
	maps : [ ]
	
}
]*/
