/*
Cross browser Marquee script- © Dynamic Drive (www.dynamicdrive.com)
For full source code, 100's more DHTML scripts, and Terms Of Use, visit http://www.dynamicdrive.com
Credit MUST stay intact
*/

m_1_htmlcontent = '';

var m_1_marqueewidth = "100%"
var m_1_marqueeheight = "20px"
var m_1_marqueespeed = 2
var m_1_marqueebgcolor = "transparent"
var m_1_pauseit=1



////NO NEED TO EDIT BELOW THIS LINE////////////
m_1_marqueespeed = (document.all) ? m_1_marqueespeed : Math.max(1, m_1_marqueespeed-1) //slow speed down by 1 for NS
var m_1_copyspeed = m_1_marqueespeed;
var m_1_pausespeed = (m_1_pauseit==0)? m_1_copyspeed: 0;
var m_1_iedom=document.all||document.getElementById;
if (m_1_iedom)
m_1_htmlcontent += '<span id="m_1_temp" style="visibility:hidden;position:absolute;top:-100px;left:-9000px">'+m_1_marqueecontent+'<\/span>';
var m_1_actualwidth='';
var m_1_cross_marquee, m_1_ns_marquee;

function m_1_populate(){
if (m_1_iedom){
m_1_cross_marquee=document.getElementById? document.getElementById("m_1_iemarquee") : document.all.m_1_iemarquee;
m_1_cross_marquee.style.left=parseInt(m_1_marqueewidth)+8+"px";
m_1_cross_marquee.innerHTML=m_1_marqueecontent
m_1_actualwidth=document.all? m_1_temp.offsetWidth : document.getElementById("m_1_temp").offsetWidth
}
else if (document.layers){
m_1_ns_marquee=document.m_1_ns_marquee.document.m_1_ns_marquee2
m_1_ns_marquee.left=parseInt(m_1_marqueewidth)+8
m_1_ns_marquee.m_1_htmlcontent += m_1_marqueecontent
m_1_ns_marquee.document.close()
m_1_actualwidth=m_1_ns_marquee.document.width
}
m_1_lefttime=setInterval("m_1_scrollmarquee()",20)
}

function m_1_scrollmarquee(){
if (m_1_iedom){
if (parseInt(m_1_cross_marquee.style.left)>(m_1_actualwidth*(-1)+8))
m_1_cross_marquee.style.left=parseInt(m_1_cross_marquee.style.left)-m_1_copyspeed+"px"
else
m_1_cross_marquee.style.left=parseInt(m_1_marqueewidth)+8+"px"

}
else if (document.layers){
if (m_1_ns_marquee.left>(m_1_actualwidth*(-1)+8))
m_1_ns_marquee.left-=m_1_copyspeed
else
m_1_ns_marquee.left=parseInt(m_1_marqueewidth)+8
}
}

if (m_1_iedom||document.layers){
with (document){
if (m_1_iedom){
	m_1_htmlcontent += '<div style="position:relative; width:'+m_1_marqueewidth+'; height:'+m_1_marqueeheight+'; overflow:hidden; " >';
	m_1_htmlcontent += '<div style="position:absolute; width:'+m_1_marqueewidth+'; height:'+m_1_marqueeheight+'; background-color:'+m_1_marqueebgcolor+'" onMouseover="m_1_copyspeed=m_1_pausespeed" onMouseout="m_1_copyspeed=m_1_marqueespeed; " >';
	m_1_htmlcontent += '<div id="m_1_iemarquee" style="position:absolute; left:0px; top:0px; " ><\/div>';
	m_1_htmlcontent += '<\/div><\/div>';
}
else if (document.layers){
	m_1_htmlcontent += '<ilayer width='+m_1_marqueewidth+' height='+m_1_marqueeheight+' name="m_1_ns_marquee" bgColor='+m_1_marqueebgcolor+'>';
	m_1_htmlcontent += '<layer name="m_1_ns_marquee2" left=0 top=0 onMouseover="m_1_copyspeed=m_1_pausespeed" onMouseout="m_1_copyspeed=m_1_marqueespeed"><\/layer>';
	m_1_htmlcontent += '<\/ilayer>';
}
}
}

document.write('<div id="marquee-1" class="marquee" ><div class="mc" ></div></div>');
document.getElementById("marquee-1").innerHTML = m_1_htmlcontent;

m_1_populate();