Element.observe(window,'load', function() {	var sm = $('navbar').select('.sitemap');	sm[0].observe('click',showSiteMap);	if($('SIGN-UP')) {		$('SIGN-UP').observe("click",mailingList);	}	if($('sidepanel')) {		$('progress').show();			new Ajax.Updater("article","knowOpening.html",{				method: "get",				onSuccess: function() {$('progress').hide();}		});		$('sidepanel').observe("click", function(event) {			$('progress').show();			var aURL = Event.element(event);			new Ajax.Updater("article",aURL,{				onSuccess: function() {$('progress').hide();}			});			Event.stop(event);		});	}})function showSiteMap(event) {	Event.stop(event);	$('siteMap').toggle();}function mailingList() {	$("mailing_list_status").show();	new Ajax.Updater("mailing_list_status","_php_script.php",{		parameters: $('mailingList').serialize(true)	});	var sto = setTimeout(function(){$("mailing_list_status").hide();},5000)}function checkQuiz(theQuiz){		q = 0	for(i=0;i<16;i++)	{		if(theQuiz[i].checked)		{			q++;		}	}	if(q < 8)	{		window.alert("You must answers all eight questions. "+q)		return false;	}	else	{		return true;	}}function reset(){alert('working');	location = "squiz.php";}