/* --------------------------------------------------------------------------
 * 			Javascript-funksjoner for å navigere på siden GodtFraspark.no
 * -------------------------------------------------------------------------- */

/*
 * MAIN MENU
 */

	function showCalendar() {
		new Ajax.Updater('content_main', 'main_menu/calendar.php');
	}
	
	function showAbout() {
		new Ajax.Updater('content_main', 'main_menu/about.php');
	}
	
	function showContactInfo() {
		new Ajax.Updater('content_main', 'main_menu/contact.php');
	}
	
	function showGallery() {
		new Ajax.Updater('content_main', 'main_menu/gallery.php');
	}

/*
 * PRODUCTS TREE
 */
 
 	function showKlassisk() {
 		new Ajax.Updater('content_main', 'products_tree/klassisk.php');
 	}
 	
 	function showFristil() {
 		new Ajax.Updater('content_main', 'products_tree/fristil.php');
 	}
 	
 	function showTeorikurs() {
 		new Ajax.Updater('content_main', 'products_tree/teorikurs.php');
 	}
 	
 	function showPraktiskTreningsokt() {
 		new Ajax.Updater('content_main', 'products_tree/praktisk_treningsokt.php');
 	}
 	
 	function showIdrettsmassasje() {
 		new Ajax.Updater('content_main', 'products_tree/idrettsmassasje.php');
 	}
 	
 	function showSmorekurs() {
 		new Ajax.Updater('content_main', 'products_tree/smorekurs.php');
 	}
 	
 	function showStyrketrening() {
 		new Ajax.Updater('content_main', 'products_tree/styrketrening.php');
 	}
 	
 	function showTreningsplan() {
 		new Ajax.Updater('content_main', 'products_tree/treningsplan.php');
 	}
 	
 	function showMAdr() {
		var str = String.fromCharCode(107, 111, 110, 116, 97, 107, 116, 64, 103, 111, 100, 116, 102, 114, 97, 115, 112, 97, 114, 107, 46, 110, 111);
		// $('stop_them').innerHTML = str;
		$('stop_them').update('<a href=mailto:' + str + '>' + str + '<a>');
		$('stop_them').onclick = null;
		$('stop_them').title="";
	}

 	
 	
 	
 	
 	
 	
