var link=new Array()
var text=new Array()

// -------------   Start Configuration

//Specify the scroller's width (in pixels)
var scrollerwidth="941px"

//Specify the scroller's height
var scrollerheight="15px"

//Specify the scroller speed (larger is faster 1-10)
var scrollerspeed=2

//configure background color:
var scrollerbgcolor="#eeeeee" 

//Pause scrolling when the mouse is over it (0=no, 1=yes) 
var pauseit=1

// -------------   End Configuration

// -------------   Start Editable region,   there can be several pairs of items, 
// -------------   First item is 'No of links' in the list
// -------------   The link can be relative to the current reference ("./filename")
// -------------     		or null ("")
var item=3
link[0] = "";
text[0] = "IplusP Launch and takes on Morgan Linley activity";
link[1] = "";
text[1] = "IplusP Catalayst Service for Technology Startups.";
link[2] = "";
text[2] = "IplusP Technology Alert Service for IP-hungry companies";
// ------------    End Editable region


var scrollercontent = '';
scrollercontent += '<nobr>';
for(i=0;i<item;i++){
	scrollercontent += '<a class=scrollLinks href="'+link[i]+'" >'+text[i]+'</a>';
	scrollercontent += '&nbsp;&nbsp;&nbsp;|&nbsp;&nbsp;&nbsp;';
}
scrollercontent += '</nobr>';

scrollerspeed=(document.all)? scrollerspeed : Math.max(1, scrollerspeed-1) //slow speed down by 1 for NS
var copyspeed=scrollerspeed
var pausespeed=(pauseit==0)? copyspeed: 0
var iedom=document.all||document.getElementById
if (iedom)
document.write('<span id="temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+scrollercontent+'</span>')
var actualwidth=''
var cross_scroller, ns_scroller

function populate(){
if (iedom){
cross_scroller=document.getElementById? document.getElementById("iescroller") : document.all.iescroller
cross_scroller.style.left=parseInt(scrollerwidth)+8+"px"
cross_scroller.innerHTML=scrollercontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
ns_scroller=document.ns_scroller.document.ns_scroller2
ns_scroller.left=parseInt(scrollerwidth)+8
ns_scroller.document.write(scrollercontent)
ns_scroller.document.close()
actualwidth=ns_scroller.document.width
}
lefttime=setInterval("scrollscroller()",20)
}
window.onload=populate

function scrollscroller(){
if (iedom){
if (parseInt(cross_scroller.style.left)>(actualwidth*(-1)+8))
cross_scroller.style.left=parseInt(cross_scroller.style.left)-copyspeed+"px"
else
cross_scroller.style.left=parseInt(scrollerwidth)+8+"px"

}
else if (document.layers){
if (ns_scroller.left>(actualwidth*(-1)+8))
ns_scroller.left-=copyspeed
else
ns_scroller.left=parseInt(scrollerwidth)+8
}
}

if (iedom||document.layers){
with (document){
document.write('<table border="0" cellspacing="0" cellpadding="0"><td>')
if (iedom){
write('<div style="position:relative;width:'+scrollerwidth+';height:'+scrollerheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+scrollerwidth+';height:'+scrollerheight+';background-color:'+scrollerbgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed">')
write('<div id="iescroller" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+scrollerwidth+' height='+scrollerheight+' name="ns_scroller" bgColor='+scrollerbgcolor+'>')
write('<layer name="ns_scroller2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=scrollerspeed"></layer>')
write('</ilayer>')
}
document.write('</td></table>')
}
}

