// 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.collapseAllSections ) collapseAllSections();
		if( typeof init_gmap == 'function' ) init_gmap(); // Initialize Google Maps if a function exists to do so
		setupZoomifyLinks();
		if( 'function' == typeof window.continueLists ) continueLists();

	}
	window.onunload = function() {
		if( typeof init_gmap == 'function' ) GUnload(); // Unload Google Maps to prevent memory leaks
	}
