//-- JavaScript Document
var swidth=159;

//-- scroll height: -->
var sheight=80;

//-- background color: -->
var sbcolor="#f4f4f4";

//-- scroll speed: -->
var sspeed=2;
var restart=sspeed;
rspeed=sspeed;

//-- text: scrolling text -->
wholemessage='<table align="center"><tr><td></td><td><A class=tabb target="_self" href="http://www.co-opvillagefoundation.org"><strong>New Visitor?</strong></A></td><td></td></tr></table><div class=tanc>If this is your first time to our web site be sure to read all of the articles under BLOG to have a better understanding of the project<a href="vLife.asp"><strong> click here for BLOG</strong></a>.<br><br><br></div><table align="center"><tr><td></td><td><A class=tabb href="vPhysicalInfra.asp"><strong>Physical Layout</strong></A></td><td></td></tr></table><div class=tanc>Short narrative of the physical layout of the village.  This is a great place to start prior to looking at the detail. <a href="vPhysicalInfra.asp"><strong> click here </strong></a><br><br></div><table align="center"><tr><td></td><td><br><br><A class=tabb href="vinfrastructure.asp"><strong>Village Infrastructure</strong></A></td><td></td><br><br></tr></table><div class=tanc>All infrastructure systems needed for a functioning community, such as transportation, communications, water and power. <a href="vinfrastructure.asp"><strong>Click here</strong></a> to See Infrastructure.<br><br></div><table align="center"><tr><td></td><td><A class=tabb href="vLife.asp"><strong>Village Life</strong></A></td><td></td></tr></table><div class=tanc>An in-depth presentation of village life and the reasoning behind the concept.  <a href="vLife.asp"><strong>click here</strong></a>.<br><br></div></strong></a><br></div><table align="center"><tr><td><A class=tabb href="vGlobalSolution.asp"><strong>GLOBAL SOLUTION</strong></A></td><td></td></tr></table><div class=tanc>Comprehensive solution to the global crisis we face today. <a href="vGlobalSolution.asp><strong> click here </strong></a><br><br></div><table align="center"><tr><td></td><td><A class=tabb href="vGlobalSolution.asp"><strong><a href="vGlobalSolution.asp"><strong>click here</strong><br><br><a href="vSuburbia.asp">        Converting Suburbia</strong></A></td><td></td></tr></table><div class=tanc>How to convert a suburban home to being self-sufficient.  <a href="vSuburbia.asp"><strong>click here</strong></a>.<br><br></div></strong>';


//-- Scroll Algorithm -->
function goup()
	{if(sspeed!=rspeed*8){sspeed=sspeed*2;restart=sspeed;}}

function start()
	{if(document.getElementById)ns6marquee(document.getElementById('slider'));
	else if(document.all)iemarquee(slider);
	else if(document.layers)ns4marquee(document.slider1.document.slider2);}

function iemarquee(whichdiv)
	{iediv=eval(whichdiv);iediv.style.pixelTop=sheight;iediv.innerHTML=wholemessage;sizeup=iediv.offsetHeight;ieslide();}

function ieslide()
	{if(iediv.style.pixelTop>=sizeup*(-1)){iediv.style.pixelTop-=sspeed;setTimeout("ieslide()",100);}
	else{iediv.style.pixelTop=sheight;ieslide();}}

function ns4marquee(whichlayer){ns4layer=eval(whichlayer);ns4layer.top=sheight;ns4layer.document.write(wholemessage);ns4layer.document.close();sizeup=ns4layer.document.height;ns4slide();}

function ns4slide()
	{if(ns4layer.top>=sizeup*(-1)){ns4layer.top-=sspeed;setTimeout("ns4slide()",100);}
	else{ns4layer.top=sheight;ns4slide();}}

function ns6marquee(whichdiv){ns6div=eval(whichdiv);ns6div.style.top=sheight;ns6div.innerHTML=wholemessage;sizeup=ns6div.offsetHeight;ns6slide();}

function ns6slide()
	{if(parseInt(ns6div.style.top)>=sizeup*(-1)){ns6div.style.top=parseInt(ns6div.style.top)-sspeed;setTimeout("ns6slide()",100);}
	else{ns6div.style.top=sheight;ns6slide();}}

