function addScrollers() {
// code each scroller as follows:
// startScroll('id of scroller div','content of scroller');
//startScroll('myscroller','<p><a href="http:\/\/javascript.about.com\/">Focus on JavaScript<\/a> has JavaScript tutorials, help pages, and lots of <b>free scripts<\/b>.<\/p><p><a href="http:\/\/www.felgall.com\/">Ask Felgall<\/a> for help with anything to do with computers.</p><p><a href="http:\/\/about.com\/">About.com<\/a> - the ultimate guide directed information resource on the web.<\/p>');
startScroll('myscroller','<p><a target=\"_blank\" href=\"http://www.sanletproperties.com/?origin=banner\">Sandton Executive Apartments</a></p><p>Long and short term furnished executive apartments in Morningside, Sandton.</p><p><a target=\"_blank\" href=\"http://www.sanletproperties.com/rates.html?origin=banner\">Rates</a></p><table><tr><td>1-3 Nights</td><td>&nbsp;</td><td>R525</td></tr><tr><td>4-8 Nights</td><td>&nbsp;</td><td>R495</td></tr><tr><td>9-14 Nights</td><td>&nbsp;</td><td>R475</td></tr><tr><td>15-27 Nights</td><td>&nbsp;</td><td>R435</td></tr><tr><td>Monthly</td><td>&nbsp;</td><td>R10,250</td></tr><tr><td>3 Months</td><td>&nbsp;</td><td>R9750</td></tr></table><p>Prices inclusive of utilities, DSTV.</p><p><a target=\"_blank\" href=\"http://www.sanletproperties.com/?origin=banner\">http://www.sanletproperties.com</a></p><center><img src=\"http://www.sanletproperties.com/images/galleryImages/thumb1.jpg\">&nbsp;&nbsp;&nbsp;<img src=\"http://www.sanletproperties.com/images/galleryImages/thumb2.jpg\"></center>');
//OPTIONAL - SEE COMMENT **
startScroll('twoscroll','');



}

var speed=10; // scroll speed (bigger = faster)
var dR=false; // reverse direction

// Vertical Scroller Javascript
// copyright 24th September 2005, by Stephen Chapman
// permission to use this Javascript on your web page is granted
// provided that all of the code below (as well as these
// comments) is used without any alteration


//COMMENT ** REMOVED THE FOLLOWING AS THERE WAS NO NEED. IF YOU WANT TO USE IT FOR ANOTHER SCROLL BAR, SIMPLY REMOVE COMMENTS
var step = 2; 
function objWidth(obj) 
{
	if(obj.offsetWidth) 
		return obj.offsetWidth; 
	if (obj.clip) return obj.clip.width; 
		return 0;
} 

function objHeight(obj) {
	if(obj.offsetHeight) 
		return obj.offsetHeight; 
	if (obj.clip) 
		return obj.clip.height; 
		return 0;
	} 
	
function scrF(i,sH,eH){var x=parseInt(i.top)+(dR? step: -step); if(dR && x>sH)x=-eH;else if(x<2-eH)x=sH;i.top = x+'px';} function startScroll(sN,txt){var scr=document.getElementById(sN); var sW = objWidth(scr)-6; var sH = objHeight(scr); scr.innerHTML = '<div id="'+sN+'in" style="position:absolute; left:3px; width:'+sW+';">'+txt+'<\/div>'; var sTxt=document.getElementById(sN+'in'); var eH=objHeight(sTxt); sTxt.style.top=(dR? -eH : sH)+'px'; sTxt.style.clip='rect(0,'+sW+'px,'+eH+'px,0)'; setInterval(function() {scrF(sTxt.style,sH,eH);},1000/speed);}

window.onload = addScrollers;           