

/*******************************
*  http://geocities.com/vbarsan
* This notice may not be removed 
********************************/

//-- Begin Scroller's Parameters and messages -->
//scroller's width
var swidth=400;

//scroller's height
var sheight=75

//scroller's speed 
var sspeed=1;
var restart=sspeed;
var rspeed=sspeed;

//scroller's background
var sbcolor="";

//messages: change to your own; use as many as you'd like; set up Hyperlinks to URLs as you normally do: <a target=... href="... URL ...">..message..</a>
var singletext=new Array();
singletext[0]='<font face="Verdana" size=2>' +
'<p><a href="pdf/Livingston.pdf" target="_blank">Essay: Why The War Was Not About Slavery</a>' +
'<p><a href="pdf/RegainingTaxExemption.pdf" target="_blank">IRS: Regaining Camp Tax-exempt status</a>' +
'<p><a href="http://www.youtube.com/user/SCVORG" target="_blank">Visit the SCV Youtube channel!</a>' + 
'<p><a href="convention.php">Website for 2012 Convention</a>' + 
'<p><a href="pdf/VisionPowerpoint.pptx" target="_blank">Vision of the SCV Powerpoint</a>' +
'<p><a href="pdf/2011LeadershipSummit.pdf" target="_blank">SCV Leadership Summit</a>' +
'<p><a href="pdf/2010BattleFlagResolution.pdf" target="_blank">New Battleflag Resolution </a>' +
'<p><a href="pdf/2011CFCapprovalLetter.pdf" target="_blank">SCV Approved for 2011 Combined Federal Campaign</a>' +
'<p><a href="http://confederate150.com" target="_blank">Sesquicentennial Events</a>' + 
'<p><a href="http://samdavis.scv.org/" target="_blank">Sam Davis Youth Camp 2012</a>' + 
'<p><a href="http://theconfederatemuseum.com/filess/flyerc.pdf" target="_blank">Join the Sesquicentennial Society</a>' + 
'<p><a href="http://www.sonsofconfederateveterans.blogspot.com" target="_blank">Visit the SCV Blog</a>' + 
'<p><a href="http://theconfederatemuseum.com/files/founder.pdf" target="_blank">Become a Confederate Museum Founder</a>' + 
'<p><a href="pdf/IRSInstructions.pdf" target="_blank">All Camps: IRS Instructions</a>' + 
'<p><a href="bricksForBeauvoir.php">Support the rebuilding of Beauvoir</a>' + 
'</font>';

/*

'<p><a href="conventionFiles.php">2011 Credentials Form</a>' +
'<p><a href="convention.php">Website for 2011 Convention</a>' + 
'<p><a href="pdf/2011AwardsNotice.pdf" target="_blank">2011 Awards Notice</a>' +
'<p><a href="pdf/DavisAppeal2008.pdf" target="_blank">Jefferson Davis Fundraising Appeal</a>' + 
'<p><a href="pdf/battleflag_resolution.pdf" target="_blank">Battleflag Resolution</a>' + 
'<p><a href="announcementsP2.php">SCV to Publish 2010 Sesquicentennial Membership Book</a>' + 
'<p><a href="pdf/AwardsNotice.pdf" target="_blank">Awards Nominations</a>' + 
'<p><a href="pdf/ReportNotice.pdf" target="_blank">Committee Reports Notice</a>' + 
'<p><a href="raffles.php">All Camps: Raffles not allowed!</a>' + 
'<p><a href="pdf/FOSCV.pdf" target="_blank">Introducing: Friends of the SCV</a>' + 
'<p><a href="websiteAward.php">Best Website Submissions</a>' + 
<p><a href="pdf/JeffersonDavisResolution.pdf" target="_blank">Jefferson Davis Resolution</a>
<p><a href="pdf/bricks_flyer.pdf" target="_blank">Help the Oregon Division save our Heritage!</a>
<p><a href="pdf/2008JDCReport.pdf" target="_blank">Jefferson Davis Celebration Final Report (UPDATED)</a>
<p><a href="video.php">NEW! Recruiting video!</a>
'<p><a href="pdf/2010_national_award_winners.pdf" target="_blank">2010 National Award Winners</a>' + 
'<p><a href="pdf/2010BattleFlagResolution.pdf" target="_blank">Battleflag Resolution</a>' + 
'<p><a href="pdf/SDLEE_Institute.pdf" target="_blank">Stephen D. Lee Institute</a>' + 
*/

//singletext[...]='...';
//-- end Parameters and message -->

//-- begin: Scroller's Algorithm -->
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 start(){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++;}}
//-- end Algorithm -->

