this.displayInfo = function(){		$("#aboutuslink").toggle(		function(){			$("#infobox").fadeIn("slow");	    	},		function(){			$("#infobox").fadeOut("slow");    });// hide/show newsletterdiv	$("#newsletterlink").click(function(){		$("#bulletindiv").hide("slow");		$("#mbrshiplistdiv").hide("slow");		$("#settingsdiv").hide("slow");		$("#newsletterdiv").show("slow");		return(false);	});// check upload data	$("form#uploadnewslform").submit(function(){		var newslettertxt = $("#newnewsletter").val();		var delfilename = $("#deletefilename").val();		if (newslettertxt == "" && delfilename == "") {			return false;		}	});// hide/show bulletin board	$("#bulletinlink").click(function(){		$("#newsletterdiv").hide("slow");		$("#mbrshiplistdiv").hide("slow");		$("#settingsdiv").hide("slow");		$("#bulletindiv").show("slow");		return(false);	});// hide/show mbrshiplistdiv	$("#mbrshiplstlink").click(function(){		$("#newsletterdiv").hide("slow");		$("#bulletindiv").hide("slow");		$("#settingsdiv").hide("slow");		$("#mbrshiplistdiv").show("slow");		return(false);	});	// hide/show mbrshiplistdiv	$("#settingslink").click(function(){		$("#newsletterdiv").hide("slow");		$("#bulletindiv").hide("slow");		$("#mbrshiplistdiv").hide("hide");		$("#settingsdiv").show("slow");		return(false);	});// hide/show bulletin comments div	$(".bullcolink").toggle(function(){		var entryID = this.name;		$("#bullcommentsdiv"+entryID).fadeIn("slow");		// display this into comEntryDiv:		$("#addcommentp").remove();		$("#comEntryDiv"+entryID).append("<p id=\"addcommentp\"><br />add a comment:<br /><textarea name=\"newCommentTxt\" cols=\"50\" rows=\"8\" class=\"newCommentTxt\"></textarea><br />"+"<input type=\"hidden\" name=\"newCommentRef\" value=\""+entryID+"\" />"+"<input type=\"submit\" name=\"newCommentButton\" value=\"save\" />"+"</p>");	}, function(){		var entryID = this.name;		$("#bullcommentsdiv"+entryID).fadeOut("slow");		$("#addcommentp").remove();	});// hide/show new bulletin topic div	$("#newBullTopicLink").toggle(function(){		$("#bullnewtopicdiv").fadeIn("slow");	}, function(){		$("#bullnewtopicdiv").fadeOut("slow");	});// new topic fields	$("#newTopicTxt").focus(function(){		if ($("#newTopicTxt").val() == "enter text") {			$("#newTopicTxt").val("");		}	});// new topic fields	$("#newTopicheadline").focus(function(){		if ($("#newTopicheadline").val() == "enter new topic headline") {			$("#newTopicheadline").val("");		}	});// check bulletin new topic data	$("form#BulletinForm").submit(function(){		var newTopicheadline = $("#newTopicheadline").val();		var newTopicTxt = $("#newTopicTxt").val();		if (newTopicheadline == "" || newTopicheadline == "enter new topic headline" || newTopicTxt == "" ||  newTopicTxt == "enter text.") {			return false;		}	});	// sendmail	$("form#sendmailform").submit(function(){		var emailheader = $("#emailheader").val();		var emailtxt = $("#emailtxt").val();		if (emailheader == "" || emailtxt == "") {			alert("email incomplete");			return false;		}	});};   // starting the script on page load$(document).ready(function(){	displayInfo();});