/*
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=440
//Specify the marquee's height (in pixels, pertains only to NS)
var marqueeheight=10
//Specify the marquee's scroll speed (larger is faster)
var speed=2
//Specify the marquee contents
var marqueecontents=':: news :: <a href="http://on.ft.com/l8hNRg">Hyundai accelerates in its move to quality</a> :: <a href="http://on.ft.com/lF49Mk">Tata hands Jaguar £5bn to match German rivals</a> :: <a href="http://econ.st/fUfjgA">Epiphany in Dearborn</a> :: <a href="http://www.google.com/crisisresponse/japanquake2011.html">Our deepest condolences to the Earthquake & Tsunami victims. Help if you can!</a> :: <a href="http://bit.ly/i6ahoR">Recovering from information overload (McKinsey Quarterly)</a> :: <a href="http://nyti.ms/hyhiTR">Can Johnson & Johnson get its act together?</a> :: Our thoughts and prayers go out to everyone affected by the floods in Australia & Brazil and the tragedy here. :: <a href="http://bit.ly/gqGsw6">17th International QFD Symposium, Stuttgart, Germany - Sep 21-23, 2011</a> :: <a href="http://bit.ly/d4v1El">VW eyes better quality</a> :: <a href="http://bit.ly/dgManu">Poll says Ford, GM gaining in quality - Consumer Reports ranks Honda, Toyota as most reliable</a> :: <a href="http://usat.ly/bvmYjz">Some (Toyota) suppliers not testing parts as often as expected</a> :: <a href="http://bit.ly/9Y0H3X">Quality fuels Hyundai-Kia global rise</a> :: <a href="http://bit.ly/aS1n6k">Johnson & Johnson CEO maps quality shake up </a> :: <a href="http://bit.ly/a2rm64">Mulally in planning for success at Ford - keep it simple</a> :: <a href="http://bit.ly/bfHoS5">VW recruits Frank Tuch, COO Lotus and a former quality executive at Porsche, as chief quality officer</a> :: <a href="http://bit.ly/aUjnG0">Toyota assigns 1,000 engineers to quality drive</a> :: <a href="http://bit.ly/c7Zzmd">Toyota is changing how it develops cars</a> :: <a href="http://n.pr/d0PBDP">Toyota still struggling to restore its quality image </a> :: <a href="http://bit.ly/abeqXf">VW trains industrial athlete for new US plant </a> :: &nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp;'

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

