/**************************************
* http://vertical-scroller.vbarsan.com/
*    This notice may not be removed 
**************************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=550;

//scroller's height
var sheight=200;


//scroller's speed 
var sspeed=2;
var restart=sspeed;
var rspeed=sspeed;

//scroller's pause 
var spause=2000;

//scroller's background
var sbcolor="#ffffff";

//messages: 

var singletext=new Array();

singletext[0]='<div align="left"><div class="scr_title">Middle and High School Important Dates:</div>Thurs., Aug. 5th:<br>Secondary Student Processing (grades 6th - 12th) will occur from 7:00 a.m. until 1:00 p.m. in the Multi-Purpose Room (MPR).<br><br>Mon., Aug. 9th:<br>FIRST DAY of SCHOOL (The 2010 -11 instructional year begins.)<br><br>Thurs., Aug. 12th:<br>Secondary Parents&#8217; Night 7 to 8:30 p.m. (Parents are invited to <i>run their children&#8217;s schedule of classes</i> and meet their teachers.)<br><br>Mon., Sept. 6th:<br>LABOR DAY HOLIDAY<br><br>Thurs., Sept. 9th:<br>FALL SCHOOL PICTURES WILL BE TAKEN.<br><br><div class="scr_title">Elementary School Important Dates:</div>Thurs., Aug. 5th:<br>Elementary Parents&#8217; Night:<br>Grades k/4 - 2nd from 6 to 6:45 p.m.<br>Grades 3rd - 5th from 7 to 7:45 p.m.<br>(Parents are invited to come see their children&#8217;s classrooms and meet their teachers.<br><br>Fri., Aug. 6th:<br>Elementary Student Processing (grades 6th - 12th) will occur from 11:30 a.m. until 3:30 p.m. in the Multi-Purpose Room (MPR).<br><br>Mon., Aug. 9th:<br>FIRST DAY of SCHOOL ( The 2010 -11 instructional year begins.)<br><br>Mon., Sept. 6th:<br>LABOR DAY HOLIDAY<br><br>Thurs., Sept. 9th:<br>FALL SCHOOL PICTURES WILL BE TAKEN.</div>';


singletext[1]='<div class="scr_title">Your ACA source for school uniforms is <a href="http://www.southernschooluniforms.com">www.southernschooluniforms.com</a></div>';


//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
var ii=0;
function goup(){if(sspeed!=rspeed*16){sspeed=sspeed*2;restart=sspeed;}}

function start(){
if(document.getElementById){ns6div=document.getElementById('iens6div');ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[0];sizeup=ns6div.offsetHeight;ns6scroll();}
else 
if(document.layers){ns4layer=document.ns4div.document.ns4div1;ns4layer.top=sheight;ns4layer.document.write(singletext[0]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}
else 
if(document.all){iediv=iens6div;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[0];sizeup=iediv.offsetHeight;iescroll();}}
function iescroll(){if(iediv.style.pixelTop>0&&iediv.style.pixelTop<=sspeed){iediv.style.pixelTop=0;setTimeout("iescroll()",spause);}else 
if(iediv.style.pixelTop>=sizeup*-1){iediv.style.pixelTop-=sspeed+"px";setTimeout("iescroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;iediv.style.pixelTop=sheight+"px";iediv.innerHTML=singletext[ii];sizeup=iediv.offsetHeight;iescroll();}}
function ns4scroll(){if(ns4layer.top>0&&ns4layer.top<=sspeed){ns4layer.top=0;setTimeout("ns4scroll()",spause);}else 
if(ns4layer.top>=sizeup*-1){ns4layer.top-=sspeed;setTimeout("ns4scroll()",100);}else{if(ii==singletext.length-1)ii=0;else ii++;ns4layer.top=sheight;ns4layer.document.write(singletext[ii]);ns4layer.document.close();sizeup=ns4layer.document.height;ns4scroll();}}
function ns6scroll(){if(parseInt(ns6div.style.top)>0&&parseInt(ns6div.style.top)<=sspeed){ns6div.style.top=0;setTimeout("ns6scroll()",spause);}else 
if(parseInt(ns6div.style.top)>=sizeup*-1){ns6div.style.top=parseInt(ns6div.style.top)-sspeed+"px";setTimeout("ns6scroll()",100);}
else{if(ii==singletext.length-1)ii=0;else ii++;
ns6div.style.top=sheight+"px";ns6div.innerHTML=singletext[ii];sizeup=ns6div.offsetHeight;ns6scroll();}}
//-- end Algorithm -->