var AllComments = new Array();var Comment;var ChngColor = 255;// Comments//AllComments[0] = 'How many viable curriculums have come out for our over 500 Messianic Congregations in the past 60 years...    half a dozen?';//AllComments[1] = 'How many Messianic Schools have been established...   two or three?';//AllComments[2] = 'How much of your congregational budget goes to purchase materials for the children...  >3%?';//AllComments[3] = 'How many Messianic Jewish children\'s music CD\'s are available...   three or four?';//AllComments[4] = 'What percentage of children raised in your synagogue remain within the Messianic Jewish Movement as adults...    >50%?';//AllComments[5] = 'How often are children included in leading during your worship service...   ever?';//AllComments[6] = 'How often do your really committed Shabbat School teachers get used up, ignored and just give up...   every 2 years or so?';//AllComments[7] = 'How often is the main goal of children\'s ministry simply to keep the children quiet, so the adults can be "fed"?';//AllComments[8] = 'Have you ever even noticed how much more open children\'s hearts are than adults?';//AllComments[9] = 'Have you ever seen a child\'s eye gleam when they "get it," that they DO matter to God!';
AllComments[0] = 'Do you think that children<br> can mentally switch from <br>"Jesus Christ" to "Yeshua the Messiah" while reading <br>the bible?';AllComments[1] = 'Have you ever noticed the positive way the Tenach ends with 2<sup>nd</sup> Chronicles instead of Malachi?';AllComments[2] = 'Do you realize that after forty years we still don\'t have a messianic bible the whole family can read together...';AllComments[3] = 'Have you read through our sample text and viewed the artwork?';
function GetCommentNumber(){	Comment = Math.round(Math.random()*(AllComments.length - 1));	return Comment;}
function StartComments(){	Comment=0;	// Waiting for actual customer commentsand approval	FadeComments();}
function FadeComments(){	if (Comment < AllComments.length){		//Comment = Math.round(Math.random()*(AllComments.length - 1));		document.getElementById('RandomFade2').innerHTML = AllComments[Comment];		document.getElementById('RandomFade2').style.color="rgb(" + ChngColor + "," + ChngColor + "," + ChngColor + ")";		FadeIn();		setTimeout('FadeOut()',3000)	}}
function FadeIn(){	if (ChngColor > 0){		document.getElementById('RandomFade2').style.color="rgb(" + ChngColor + "," + ChngColor + "," + ChngColor + ")";		ChngColor = ChngColor - 5;		setTimeout('FadeIn()', 50)	}}
function FadeOut(){	//if ((ChngColor < 255)&&(Comment < (AllComments.length - 1))){	if (ChngColor < 255){		document.getElementById('RandomFade2').style.color="rgb(" + ChngColor + "," + ChngColor + "," + ChngColor + ")";		ChngColor = ChngColor + 5;		setTimeout('FadeOut()', 50)	} else {		Comment++;		if (Comment == AllComments.length){			Comment = 0;		}		FadeComments();	}}
var remember = 0;
function getCookie(CookieName){	if (document.cookie.length>0){		StartCookie = document.cookie.indexOf(CookieName + "=")		if(StartCookie != -1){			StartCookie = StartCookie + CookieName.length+1			EndCookie = document.cookie.indexOf(";",StartCookie)			if(EndCookie == -1){				EndCookie = document.cookie.length			}			return unescape(document.cookie.substring(StartCookie,EndCookie))		}	}	return null}
function setCookie(CookieName,value,expiredays){	var exdate = new Date()	exdate.setDate(expiredays)	document.cookie = CookieName+ "=" +escape(value)+((expiredays==null) ? "" : "; expires="+exdate)}
function checkCookie(){	username = getCookie('username')	password = getCookie('password')	remember = getCookie('remember')	if (remember == 1){		document.LoginForm.Username.value = username		document.LoginForm.Password.value = password		document.LoginForm.Remember.checked = "checked"	}}
function SubmitForm(){	if(remember == 1){		setCookie("username",document.LoginForm.Username.value,365)		setCookie("password",document.LoginForm.Password.value,365)		setCookie("remember",remember,365)	}else{		setCookie("username","",365)		setCookie("password","",365)		setCookie("remember",0,365)	}	document.LoginForm.submit()}
function ToggleRem(){	if(remember == 0){		remember = 1	} else{		remember = 0	}}
