var secs;
var timerID = null;
var delay = 1000;
function pageLoad(){
	start_slider();
	document.frmAutoby.txtUpdated.value = parseInt((((Date.parse(Date())-12000000)/(60*60*24*1000)) + 25579),10);
	secs=20;
	StartTheTimer();
	}
function StartTheTimer(){
    if (secs==0)    {
        document.getElementById("message_ok").innerHTML=' ';
    }    else    {
        secs = secs - 1;
        timerID = self.setTimeout("StartTheTimer()", delay);
    }
}
function start_slider(){
	// Dummy function
	return;
	}

function member_edit()	{
	this.location.href = "MemberEdit.php";
	}
function member_password()	{
	this.location.href = "MemberPassword.php";
	}
function gallery()	{
	this.location.href = "Gallery.php";
	}
function member_suggestion()	{
	this.location.href = "MemberSuggestion.php";
	}
function member_edit()	{
	this.location.href = "MemberEdit.php";
	}
function member_links()	{
	this.location.href = "links.php";
	}
function admin_main()	{
	this.location.href = "AdminMain.php";
	}
function admin_member_edit()	{
	this.location.href = "AdminMemberEdit.php";
	}
function admin_title_edit()	{
	this.location.href = "AdminTitleEdit.php";
	}
function admin_help_edit()	{
	this.location.href = "AdminHelpEdit.php";
	}
function admin_links_edit()	{
	this.location.href = "AdminLinksEdit.php";
	}
function admin_options()	{
	this.location.href = "AdminOptions.php";
	}
function member_main()	{
	this.location.href = "MemberMain.php";
	}
function login()	{
	this.location.href = "login.php";
	}
function sendemail(val,type,page){
	this.location.href = "email.php?id=" + val + "&t=" + type + "&h=" + page;
}
function OpenMenu(MenuId) {
	document.getElementById(MenuId).style.visibility = 'visible';
	}
function CloseMenu(MenuId){
	document.getElementById(MenuId).style.visibility = 'hidden';
	}
function MouseOver(TDId){
	document.getElementById(TDId).style.background = '#FFCC00';
	}
function MouseOut(TDId){
	document.getElementById(TDId).style.background = '#000000';
	}
