<!-- Beginning of JavaScript -

// CREDITS:
// TextWheel by Urs Dudli and Peter Gehrig 
// Copyright (c) 2000 Peter Gehrig and Urs Dudli. All rights reserved.
// Permission given to use the script provided that this notice remains as is.
// Additional scripts can be found at http://www.24fun.com.
// info@24fun.ch
// 2/22/2000

// IMPORTANT: 
// If you add this script to a script-library or script-archive 
// you have to add a hyperlink to http://www.24fun.com on the webpage 
// where this script will be running.

// CONFIGURATION:
// TextWheel is made for Internet Explorer 5x and higher. Configure the script as follows:
// Copy the script-block into the head-section of your HTML-file. 
// Copy the 6 span-containers with the id "rotationstyle" into the body-section of your HTML-file.
// Insert 'onLoad="initiate()"' inside the body-tag itself.
// Configure the variables of the script-block.
// What about font-color? Go inside the function changemessage(). 
// And change the 3 values inside // SetFillColor(0,0,255). 
// If you know RGB you will know what you have to do. 
// If not you have to change the 3 values by trial and errors. 
// Do the same procedere with SetLineColor(255,255,255).
// Then edit the values below this line:

// Edit your messages. You MUST use 6 messages precisly.
var message = new Array()
message[0]=" > 4D System Pick"
message[1]=" > System Forecast"
message[2]=" > 4D Control Centre"
message[3]=" > Return On Bet"
message[4]=" > 3D Match Analysis"
message[5]=" > Period Comparison"

// Edit the width an height of your TextWheel (pixels)
var scrollerheight=120
var scrollerwidth=360

// Edit the font
var font_family="Verdana"

// Edit the font-size
var font_size=15

// Edit the horizontal and vertical position of your TextWheel (pixels)
var x_textposition=500
var y_textposition=8

function initiate() {
	if (document.all) {	
		document.all.rotationstyle1.style.posLeft=x_textposition
		document.all.rotationstyle1.style.posTop=y_textposition
		
		document.all.rotationstyle2.style.posLeft=x_textposition
		document.all.rotationstyle2.style.posTop=y_textposition
		
		document.all.rotationstyle3.style.posLeft=x_textposition
		document.all.rotationstyle3.style.posTop=y_textposition
		
		document.all.rotationstyle4.style.posLeft=x_textposition
		document.all.rotationstyle4.style.posTop=y_textposition
		
		document.all.rotationstyle5.style.posLeft=x_textposition
		document.all.rotationstyle5.style.posTop=y_textposition
		
		document.all.rotationstyle6.style.posLeft=x_textposition
		document.all.rotationstyle6.style.posTop=y_textposition
		
		setmessages()
		}
}

function setmessages() {

		rotationstyle1.innerHTML=
		'<OBJECT ID="rotationobj1" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
        '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
        '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
		'<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,255)">'+
		'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
		'<PARAM NAME="Line0005" VALUE="Text(\''+message[0]+'\',0, 2, 0)">'+
		'</OBJECT>'		
		
		rotationstyle2.innerHTML=
		'<OBJECT ID="rotationobj2" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
        '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
        '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
		'<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,255)">'+
		'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
		'<PARAM NAME="Line0005" VALUE="Text(\''+message[1]+'\',0, 2, 0)">'+
		'</OBJECT>'	
		
		rotationstyle3.innerHTML=
		'<OBJECT ID="rotationobj3" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
        '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
        '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
		'<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,255)">'+
		'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
		'<PARAM NAME="Line0005" VALUE="Text(\''+message[2]+'\',0, 2, 0)">'+
		'</OBJECT>'	
		
		rotationstyle4.innerHTML=
		'<OBJECT ID="rotationobj4" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
        '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
        '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
		'<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,255)">'+
		'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
		'<PARAM NAME="Line0005" VALUE="Text(\''+message[3]+'\',0, 2, 0)">'+
		'</OBJECT>'	
		
		rotationstyle5.innerHTML=
		'<OBJECT ID="rotationobj5" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
        '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
        '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
		'<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,255)">'+
		'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
		'<PARAM NAME="Line0005" VALUE="Text(\''+message[4]+'\',0, 2, 0)">'+
		'</OBJECT>'	
		
		rotationstyle6.innerHTML=
		'<OBJECT ID="rotationobj6" CLASSID="CLSID:369303C2-D7AC-11d0-89D5-00A0C90833E6" STYLE="position:relative;width:'+scrollerwidth+'px;height:'+2*scrollerheight+'px">'+
        '<PARAM NAME="Line0001" VALUE="SetLineStyle(0)">'+
        '<PARAM NAME="Line0002" VALUE="SetLineColor(0,0,0)">'+
		'<PARAM NAME="Line0003" VALUE="SetFillColor(255,0,255)">'+
		'<PARAM NAME="Line0004" VALUE="SetFont(\''+font_family+'\', '+font_size+', 400, 0, 0, 0)">'+
		'<PARAM NAME="Line0005" VALUE="Text(\''+message[5]+'\',0, 2, 0)">'+
		'</OBJECT>'	
		
		rotationobj1.Rotate(0,0,0) 
		rotationobj2.Rotate(0,60,0) 
		rotationobj3.Rotate(0,120,0) 
		rotationobj4.Rotate(0,180,0) 
		rotationobj5.Rotate(0,240,0) 
		rotationobj6.Rotate(0,300,0) 
		
		startscroll()
}

function startscroll() {
        rotationobj1.Rotate(1,2,0) 
		rotationobj2.Rotate(1,2,0) 
		rotationobj3.Rotate(1,2,0) 
		rotationobj4.Rotate(1,2,0) 
		rotationobj5.Rotate(1,2,0) 
		rotationobj6.Rotate(1,2,0) 
		timer=setTimeout("startscroll()",20)
}


// - End of JavaScript - -->
