
/*
Cross browser marquee script- 
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of
Use, visit dynamicdrive.com
*/


//Specify the marquee's width (in pixels)
var marqueewidth=261
//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=20
//Specify the marquee's scroll speed (larger is faster)
var speed=2
//Specify the marquee contents
//var marqueecontents='<font face="Arial" color="#ff3300" SIZE ="2">Labour for Hire &nbsp; *** &nbsp;  Professional Recruitment  &nbsp; *** &nbsp;  Employer/Contractor Enquiries &nbsp; *** &nbsp;  Contact Us Now!</font>'
var marqueecontents='<font face="Arial" color="#990066" size="3"><P><FONT color=midnightblue><FONT face=Verdana><FONT size=2><STRONG>***&nbsp;&nbsp; Welcome to the Data Display Australia Website&nbsp;&nbsp; ***&nbsp;&nbsp;&nbsp; Please visit us at the following Exhibitions&nbsp;&nbsp; ***</STRONG>&nbsp;&nbsp; 26th - 28th of September - APTA, Dallas<STRONG>&nbsp;&nbsp; ***</STRONG>&nbsp;&nbsp; 4th - 6th of October - ProSeg,&nbsp;Paris&nbsp;France&nbsp;&nbsp; <STRONG>***</STRONG>&nbsp;&nbsp; 4th - 6th of October - Nordic Rail, Jönköping Sweden&nbsp;&nbsp; <STRONG>***&nbsp;&nbsp; </STRONG>12th - 14th of October - Trako, Gdansk&nbsp;<STRONG>&nbsp; ***&nbsp;&nbsp; </STRONG>16th - 18th of October - Forecourt, RDS Dublin&nbsp;&nbsp; <STRONG>***</STRONG>&nbsp;&nbsp; 25th - 27th of October - IRF, Barcelona&nbsp;&nbsp; <STRONG>***</STRONG>&nbsp;&nbsp; 26th - 28th of October - ShowEast, Orlando&nbsp;&nbsp; <STRONG>***<FONT color=darkmagenta></P></FONT></STRONG></FONT></FONT></FONT></font>'

if (document.all)
document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+'">'+marqueecontents+'</marquee>')

function regenerate(){
window.location.reload()
}
function regenerate2(){
if (document.layers){
setTimeout("window.onresize=regenerate",450)
intializemarquee()
}
}

function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write('<nobr>'+marqueecontents+'</nobr>')
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.width
scrollit()
}

function scrollit(){
if (document.cmarquee01.document.cmarquee02.left>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.left-=speed
setTimeout("scrollit()",100)
}
else{
document.cmarquee01.document.cmarquee02.left=marqueewidth
scrollit()
}
}

window.onload=regenerate2
