//SENDS FORM/* Future development should just make this a universal function. */function sendSubmission() {	var params = Form.serialize($('submitForm'));	Form.Element.disable('submit');	new Ajax.Updater(		'submit',		'submit_process.php',		{ 			onComplete: function () { 				new Effect.Pulsate('submit',{pulses: 3});				new Effect.SlideUp('submit',{delay: 3});				Form.Element.enable('submit');			},			asynchronous:true, 			parameters:params		}	);	}//CLEARS INPUT & RESTORES DEFAULTfunction clickClear(thisfield, defaulttext) {	if (thisfield.value == defaulttext) {		thisfield.value = "";	}}function clickRecall(thisfield, defaulttext) {	if (thisfield.value == "") {		thisfield.value = defaulttext;	}}//RATE ENTRYfunction rateThis(id, vote) {	new Ajax.Updater('rating'+id,'/ratings/star_rating.php',{ postBody:'id='+id+'&vote='+vote });}//SEARCH RESULTSfunction searchThis() {	var term = $F('q');	//alert(term);	new Ajax.Updater(		'search_results',		'/search_results.php', {			onComplete: function () { 				Field.clear('q');				Field.focus('q');			},			postBody:'q='+term		}	);}//OVERLAY CONTENT DIVfunction loadOverlay() {	/* alert('I exist.'); */	var E = $('content');	E.startWaiting('bigWaiting');	window.setTimeout(E.stopWaiting.bind(E), 3000);}function killOverlay() {	/* alert('I am dead.'); */	$('content').stopWaiting();}//FACEBOOK SHAREfunction fbs_click() {	u=location.href;	t=document.title;	window.open('http://www.facebook.com/sharer.php?u='+encodeURIComponent(u)+'&t='+encodeURIComponent(t),'sharer','toolbar=0,status=0,width=626,height=436');	return false;}
