/*
Cross browser Marquee script- &para;&cedil; 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
*/

//Specify the marquee's width (in pixels)
var marqueewidth="815px"
//Specify the marquee's height
var marqueeheight="20px"
//Specify the marquee's marquee speed (larger is faster 1-10)
var marqueespeed=1
//configure background color:
var marqueebgcolor="#fff"
//Pause marquee onMousever (0=no. 1=yes)?
var pauseit=0

//Specify the marquee's content (don't delete <nobr> tag)
//Keep all content on ONE line, and backslash any single quotations (ie: that\'s great):

var marqueecontent='<p style="white-space: nowrap;">XL-Bygg Bj&ouml;rka Byggmaterial &#8226; &Aring;dalens Bildemontering &#8226; &Aring;kersberga Bygg & Tr&auml; &#8226; &Aring;ngs&aring;gen &#8226; &Ouml;bergs f&auml;rghus &#8226; &Ouml;rebro Bildemontering &#8226; &Ouml;rnsk&ouml;ldsviks kommun &#8226; &Ouml;sterby br&auml;dg&aring;rd &#8226; &Ouml;stman Optik &#8226; ABI-Tr&auml; &#8226; Ansta Bildemontering &#8226; AVA MC &#8226; Assyriska &#8226; Babyproffsen &#8226; Beijer Bygg &#8226; Berner & Co &#8226; Bil & Traktor &#8226; Bildelcentrum &#8226; Biltrean &#8226; Bloms M&ouml;bler &#8226; BoConcept &#8226; Bodens Kommun &#8226; Bokia &#8226; Borgs Bil &#8226; Boxnet &#8226; Br&ouml;derna Brandt Bil &#8226; Burmans Ur & Guld &#8226; Bussgods &#8226; Carstedts Bil &#8226; Comfort &#8226; Cramo &#8226; CDT &#8226; Direkt Optik &#8226; Djursholms Tr&auml; &#8226; Dressman &#8226; Eklunds Bildelslager &#8226; Electrolux Home &#8226; Elkedjan &#8226; Elon &#8226; Europam&ouml;bler &#8226; Enk&ouml;pings Bilkompani &#8226; E:son Maskin &#8226; Exchange Finans &#8226; Falu Bildemontering &#8226; Ferring l&auml;kemedel &#8226; First Hotels &#8226; Fredells Byggvaruhus &#8226; F&auml;rgbolaget &#8226; G Bj&ouml;rken Optik &#8226; Glas&ouml;gonspecialisten &#8226; Granec &#8226; Hammarby Fotboll &#8226; Handelsbanken Capital Markets &#8226; Harrys Bilskrot &#8226; Hedbergs Bilskrot &#8226; Hellstr&ouml;ms Bygg &#8226; Helex &#8226; HV 71 &#8226; H&auml;gerstens Br&auml;dg&aring;rd &#8226; Idepoolen &#8226; Jaktia &#8226; Jan Hansson F&ouml;rs&auml;ljnings &#8226; J&auml;mtlands Bildemontering &#8226; J&auml;rnia &#8226; Kalix Kommun &#8226; Kalix Elektriska &#8226; Kalix Maskin &#8226; Karl Hedin &#8226; K-Rauta &#8226; Kotivara OY &#8226; Lakkap&auml;&auml; &#8226; Lindbloms Marina &#8226; Lindstr&ouml;ms Golv & Bygg &#8226; Ljusexperten &#8226; LTU &#8226; Lule&aring; Resebyr&aring; &#8226; L&auml;nna m&ouml;bler &#8226; Manco Mode &#8226; Mekonomen &#8226; Mio &#8226; Mode Magnifique &#8226; Mondi Group OY &#8226; Mora kommun &#8226; MotorCentralen &#8226; M&ouml;belhuset &#8226; Nilsson & Luthman &#8226; NordiskaBil &#8226; Nolia &#8226; Nordsj&ouml; Ide & Design &#8226; Norrbottens Bildemontering &#8226; Nuorisos&auml;&auml;ti&ouml; &#8226; Optiker Tillgren &#8226; Persson & Gustafsson &#8226; Perssons Byggcentrum &#8226; Per Svenssons Bildemontering &#8226; Pite&aring; Kommun &#8226; Polisen &#8226; R&auml;ddningsverket &#8226; Signalen &#8226; Skellefte&aring; AIK &#8226; Skinngruppen &#8226; SKOP &#8226; Sk&ouml;vde Kommun &#8226; SmartPak &#8226; SSU &#8226; Stalands M&ouml;bler &#8226; Stockholms Landsting &#8226; Stockholms Stad &#8226; StudentConsulting &#8226; Sun Off &#8226; Sundbybergs Platts&auml;ttning &#8226; Svenska Hem &#8226; Synsam &#8226; S&ouml;derberg & Haak &#8226; S&ouml;dermalms Tr&auml; &#8226; Tandlaget &#8226; Tandkliniken &#8226; Timr&aring; IK &#8226; Treetop Innovation &#8226; Trend 4 Home &#8226; Tyco Fire &#8226; T&aring;gkompaniet &#8226; T&ouml;rnerf&auml;lt Service &#8226; Umefast &#8226; Upplands Bildemontering &#8226; Uppsala F&auml;rg &#8226; Vimmerby Bildemontering &#8226; V&auml;sterbottens Landsting &#8226; Walters Bildelar &#8226; Waxholms J&auml;rn & F&auml;rg &#8226; Weydes F&auml;rghus &#8226; Woody &#8226; XL-Bygg &#8226;</p>'


////NO NEED TO EDIT BELOW THIS LINE////////////
marqueespeed=(document.all)? marqueespeed : Math.max(1, marqueespeed-1) //slow speed down by 1 for NS
var copyspeed=marqueespeed
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">'+marqueecontent+'</span>')
var actualwidth=''
var cross_marquee, ns_marquee

function populate(){
if (iedom){
cross_marquee=document.getElementById? document.getElementById("iemarquee") : document.all.iemarquee
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"
cross_marquee.innerHTML=marqueecontent
actualwidth=document.all? temp.offsetWidth : document.getElementById("temp").offsetWidth
}
else if (document.layers){
ns_marquee=document.ns_marquee.document.ns_marquee2
ns_marquee.left=parseInt(marqueewidth)+8
ns_marquee.document.write(marqueecontent)
ns_marquee.document.close()
actualwidth=ns_marquee.document.width
}
lefttime=setInterval("scrollmarquee()",20)
}
window.onload=populate

function scrollmarquee(){
if (iedom){
if (parseInt(cross_marquee.style.left)>(actualwidth*(-1)+8))
cross_marquee.style.left=parseInt(cross_marquee.style.left)-copyspeed+"px"
else
cross_marquee.style.left=parseInt(marqueewidth)+8+"px"

}
else if (document.layers){
if (ns_marquee.left>(actualwidth*(-1)+8))
ns_marquee.left-=copyspeed
else
ns_marquee.left=parseInt(marqueewidth)+8
}
}

if (iedom||document.layers){
with (document){
document.write('')
if (iedom){
write('<div style="position:relative;width:'+marqueewidth+';height:'+marqueeheight+';overflow:hidden">')
write('<div style="position:absolute;width:'+marqueewidth+';height:'+marqueeheight+';background-color:'+marqueebgcolor+'" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">')
write('<div id="iemarquee" style="position:absolute;left:0px;top:0px"></div>')
write('</div></div>')
}
else if (document.layers){
write('<ilayer width='+marqueewidth+' height='+marqueeheight+' name="ns_marquee" bgColor='+marqueebgcolor+'>')
write('<layer name="ns_marquee2" left=0 top=0 onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"></layer>')
write('</ilayer>')
}
document.write('')
}
}
// -->
