		var swidth=350;
		var sheight=48;
		var sspeed=1;
		var restart=sspeed;
		var rspeed=sspeed;
	//	sbcolor="#ffffcc";
	
	var d=new Date()
	var yy  =    d.getFullYear()
	
	var mm =    d.getMonth() + 1
	if ( mm < 10 ) {
		var month= ""
		var fullmm= month.concat("0",mm)
	}
	else { var fullmm=mm }
   
	var dd  =    d.getDate()
	if ( dd < 10 ) {
		var day = ""
		var fulldd = day.concat("0", dd)
	}
	else { var fulldd= dd }
   
	var name=""
	var full=name.concat(yy,fullmm,fulldd)
   
	var max=4
	var max_i=0
	var singletext=new Array();

if ( max_i != max ) {			
	if ( (full >= 20101101) && ( full <= 20101219) ) {
		singletext[max_i]='<a href="http://onrichmondhill.com/events.php?id=7563"><div class="ticker">Freedom of Belief<br />Sunday December 19  at 3:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20100201) && ( full <= 20100313) ) {
		singletext[max_i]='<a href="RH-UpComingEvents.html"><div class="ticker">Celebration of The United Nations International Women&acute;s Day<br />Saturday March 13  at 8:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20081101) && ( full <= 20081208) ) {
		singletext[max_i]='<a href="RH-UpComingEvents.html"><div class="ticker">60th Anniversary of the <br />United Nations Human Rights Day<br />Sunday December 7 at 3:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20080801) && ( full <= 20080908) ) {
		singletext[max_i]='<a href="RH-UpComingEvents.html"><div class="ticker">Visit of Abdu\'l-Bah&aacute;<br/>in Canada 1912<br />Sunday September 7 at 2:30pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20080501) && ( full <= 20080531) ) {
		singletext[max_i]='<a href="RH-UpComingEvents.html"><div class="ticker">Prayers & Talk about the Attacks against<br> Bah&aacute;\'&iacute; School Children in Iran<br />Saturday May 31  at 8:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20080222) && ( full <= 20080315) ) {
		singletext[max_i]='<a href="images/rh-wd-0803.jpg"><div class="ticker">Celebration of The United Nations International Women&acute;s Day<br />Saturday March 15  at 8:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20071122) && ( full <= 20071213) ) {
		singletext[max_i]='<a href="PDF/2007_12_Human-Rights-Day.jpg"><div class="ticker">United Nations Human Rights Day<br />Thursday December 13 at 7:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20070501) && ( full <= 20070527) ) {
		singletext[max_i]='<a href="PDF/bahai_interfaith_2007_05.pdf"><div class="ticker">Is Religion the Cause of Strife?<br />Saturday May 26 at 8:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20070501) && ( full <= 20070613) ) {
		singletext[max_i]='<a href="PDF/bahai_prayers_070613.pdf"><div class="ticker">Prayers and Thougths for World Peace <br />Wednesday June 13 at 8:00pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20051012) && ( full <= 20060701) ) {
		singletext[max_i]='<a href="PDF/2005_virtues.pdf"><div class="ticker">Children Virtues Classes<br />Schedules 2005/2006</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20051012) && ( full <= 20051217) ) {
		singletext[max_i]='<a href="images/2005_Youth_Dec.jpg"><div class="ticker">Youth on Fire<br />On Saturday Dec. 17</sup>th</sup>, 2005</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20051012) && ( full <= 20051105) ) {
		singletext[max_i]='<a href=PDF/2005_unity_in_diversity.pdf><div class="ticker">Celebrating Unity in Diversity in Canada<br /> Multicultural Dance Event, Open to Public<br />On Saturday Nov. 5, 2005</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050512) && ( full <= 20051022) ) {
		singletext[max_i]='<a href=images/2005_tree-planting.jpg><div class="ticker">Tree-Planting<br />Saturday October 22<sup>nd</sup> - 10:00 am<br />Celebrating United Nations Day</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
		singletext[max_i]='<a href="RH-UpComingEvents.html"><div class="ticker">Upcoming Events<br />[click on the scrolling event(s)..]</div></a> '
		max_i ++
}

if ( max_i != max ) {			
	if ( (full >= 20050601) && ( full <= 20050618) ) {
		singletext[max_i]='<a href=PDF/2005_06_UNED.pdf><div class="ticker"><br />Celebration UN World Environment Day<br /> Saturday, June 18<sup>th</sup> - 6:00 pm </div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050601) && ( full <= 20050619) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, June 19<sup>th</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050601) && ( full <= 20050611) ) {
		singletext[max_i]='<a href=PDF/2005_HVD.pdf><div class="ticker">Bah&aacute;\'&iacute;s at Heritage Village Day 2005<br /> Saturday, Saturday 11<sup>th</sup> - 9:00 am to 5:00 pm</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050310) && ( full <= 20050413) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_04_13.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, April 13<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050414) && ( full <= 20050511) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_05_11.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, May 11<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050512) && ( full <= 20050608) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_06_08.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, June 8<sup>th</sup> - 8pm</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050620) && ( full <= 20050626) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, June 26<sup>th</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050627) && ( full <= 20050703) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, July 3<sup>rd</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050704) && ( full <= 20050710) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, July 10<sup>th</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050711) && ( full <= 20050717) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, July 17<sup>th</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050718) && ( full <= 20050724) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, July 24<sup>th</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050725) && ( full <= 20050731) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, July 31<sup>st</sup> -  9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050801) && ( full <= 20050807) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, August 7<sup>th</sup> -  9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050808) && ( full <= 20050814) ) {
		singletext[max_i]='<a href=PDF/2005_Soccer.pdf><div class="ticker"><br />Youth Soccer<br /> Sunday, August 14<sup>th</sup> - 9:00 am to 11:00 am</div></a> '
		max_i ++
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050609) && ( full <= 20050713) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_07_13.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, July 13<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050714) && ( full <= 20050810) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_08_10.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, August 10<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050811) && ( full <= 20050914) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_09_14.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, September 14<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050915) && ( full <= 20051012) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_10_12.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, October 12<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20051013) && ( full <= 20051109) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_11_09.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, November 9<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
	if ( (full >= 20051101) && ( full <= 20051214) ) {
		singletext[max_i]='<a href=PublicDevotionals/2005_12_14.pdf><div class="ticker">Next Public Devotional Meeting:<br /> Wednesday, December 14<sup>th</sup> - 8pm</div></a> ';
		max_i ++;
	}	
}
if ( max_i != max ) {			
//	if ( (full >= 20050210) && ( full <= 20050309) ) {
//		singletext[max_i]='<div class="ticker_yellow">Photo Contest<br />Starts on March 1st 2005</div> ';
//		max_i ++;
//	}	
}
if ( max_i != max ) {			
	if ( (full >= 20050210) && ( full <= 20050305) ) {
		singletext[max_i]='<a href="PDF/IWD-2005-03-05.pdf"><div class="ticker">Celebration Dinner <br />UN Women\'s Day<br />March 5th 2005</div></a>';
		max_i ++;
	}	
}
if ( max_i != max ) {			
//	if ( (full >= 20050210) && ( full <= 20050309) ) {
//		singletext[max_i]='<div class="ticker">4 Day Feast<br />every 19 Days</div>'
//		max_i ++
//	}	
}

	
		if (singletext.length>1)ii=1;else ii=0;
		function goup(){if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}
		function godown(){if(sspeed>rspeed){sspeed=sspeed/2;restart=sspeed;}}
		function tickerstart(){
			if (document.all){iens6div.style.top=sheight;iescroll(iens6div);
		}
		else if (document.layers){
				document.ns4div.document.ns4div1.top=sheight;
				document.ns4div.document.ns4div1.visibility='show';
				ns4scroll(document.ns4div.document.ns4div1);
			}
			else if (document.getElementById){
				document.getElementById('iens6div').style.top=sheight;ns6scroll(document.getElementById('iens6div'));
			}
		}
		function iescroll(whichdiv){
			iediv=eval(whichdiv);
			sizeup=iediv.offsetHeight;
			if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){
				iediv.style.pixelTop=0;
				setTimeout("iescroll(iediv)",100);
			}
			if(iediv.style.pixelTop>=sizeup*-1){
				iediv.style.pixelTop-=sspeed;setTimeout("iescroll(iediv)",100);
			}
			else{
				iediv.style.pixelTop=sheight;
				iediv.innerHTML=singletext[ii];
				if(ii==singletext.length-1)ii=0;
				else ii++;
			}
		}
		function ns4scroll(whichlayer){
			ns4layer=eval(whichlayer);
			sizeup=ns4layer.document.height;
			if(ns4layer.top>0&&ns4layer.top<=sspeed){
				ns4layer.top=0;setTimeout("ns4scroll(ns4layer)",100);
			}
			if (ns4layer.top>=sizeup*-1){
				ns4layer.top-=sspeed;
				setTimeout("ns4scroll(ns4layer)",100);
			}
			else{
				ns4layer.top=sheight;
				ns4layer.document.write(singletext[ii]);
				ns4layer.document.close();
				if(ii==singletext.length-1)ii=0;
				else ii++;
			}
		}
		function ns6scroll(whichdiv){
			ns6div=eval(whichdiv);
			sizeup=ns6div.offsetHeight;
			if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){
				ns6div.style.top=0;
				setTimeout("ns6scroll(ns6div)",100);
			}
			if (parseInt(ns6div.style.top)>=sizeup*-1){
				ns6div.style.top=parseInt(ns6div.style.top)-sspeed;
				setTimeout("ns6scroll(ns6div)",100);
			}
			else{
				ns6div.style.top=sheight;ns6div.innerHTML=singletext[ii];
				if(ii==singletext.length-1)ii=0;else ii++;
			}
		}

