// Main javascript for monkey template

	var is_ie6 = (
		window.external &&
		typeof window.XMLHttpRequest == "undefined"
	);
	window.onload = function () {
		makeDefinitionLinks();
		makeCommentLinks();
		tableruler();
		if( 'function' == typeof window.styleFormElements ) styleFormElements();
		if( 'function' == typeof window.setupSearch ) setupSearch();
		if( typeof init_gmap == 'function' ) init_gmap(); // Initialize Google Maps if a function exists to do so
		setupZoomifyLinks();
		if( 'function' == typeof window.setupBannerMenus ) setupBannerMenus();
		if( 'function' == typeof window.setupLists ) setupLists();
		if( 'function' == typeof window.findFixedTable ) findFixedTable(); 
//		if( 'function' == typeof window.formatNumberCells ) formatNumberCells(); 
	}
	window.onunload = function() {
		if( typeof init_gmap == 'function' ) GUnload(); // Unload Google Maps to prevent memory leaks
	}

