/***********************************
*   http://javascripts.vbarsan.com/
*   This notice may not be removed 
***********************************/

//-- Begin Scroller's Parameters and message -->
//scroller width: change to your own;
var swidth=230;

//scroller height: change to your own;
var sheight=10;

//background color: change to your own; 
var sbcolor="#fffff";

//scroller's speed: change to your own;
var sspeed=1;
var restart=sspeed;
rspeed=sspeed;

//images-1: change to your own set of Images
//Preload recommended (no downloading check), otherwise may skip this
//For images within same dir, just set them like "yourimagename.ext" :


//images-2: change to your own set of Hyperlinks and Images parameters
//remove <a ... > & </a> portions where no Hyperlink used
//if no preloading, replace below '+ preload... +' with the actual Images path "..."

//frm
wholemessage='<b class="RemoveUnderline"><a  href=AboutUs_News.aspx>Broadplay set to launch its fantastic new Mobile Marketing Intelligence Platform (MMI)...</a>'+
'<br/><br/>'+
'<a href=AboutUs_News.aspx>Broadplay is pleased to announce the addition of a new designer to its roster of full-time employees...</a>'+
'<br/><br/>'+
'<a  href=AboutUs_News.aspx>Broadplay proudly launched its new website on December 6th 2007. Designed to showcase some of its own expertise in Search Engine Optimization techniques..</a>'+
'<br/><br/>'+
'<a  href=AboutUs_News.aspx>Broadplay has recently moved its head office into the heart of Torontos Digital Alley at the corner of King Street West and Spadina Avenue...</a></b>';
//to
//-- end Parameters and Pictures -->

//-- begin: Scroller's 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);
	if (ns6div!=null) {
	  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();
	}
}
//-- end Algorithm -->