//Specify the marquee's width (in pixels)

var marqueewidth=200

//Specify the marquee's height

var marqueeheight=120

//Specify the marquee's scroll speed (larger is faster)

var speed=1

//Specify the marquee contents
//This is the welcome Section --> 


var marqueecontents='<table border="0" height="100%" cellspacing="0" cellpadding="4"><tr><td class="body"><font color="#FFFFFF"><b>Hurry and sign up for J2EE Web Development workshop beginning August 15th 2007. Batch size is limited to 6 people. Check out <a href="http://workshop.shvintech.com">Java Web Development Workshop</a> for details.<br><br>Our next batch on Java Programming begins on August 15th, 2007. Batch size is limited to 6 people. Please emails us @<a href="mailto:cpolaku@shvintech.com">Java Programming</a> for more information</table>'


if (document.all)
document.write('<marquee direction="up" scrollAmount='+speed+' style="width:'+marqueewidth+';height:'+marqueeheight+'">'+marqueecontents+'</marquee>')

function regenerate(){
window.location.reload()
}
function regenerate2(){


if (document.layers){
setTimeout("window.onresize=regenerate",300)
intializemarquee()
}
}

function intializemarquee(){
document.cmarquee01.document.cmarquee02.document.write(marqueecontents)
document.cmarquee01.document.cmarquee02.document.close()
thelength=document.cmarquee01.document.cmarquee02.document.height
scrollit()
}

function scrollit(){


if (document.cmarquee01.document.cmarquee02.top>=thelength*(-1)){
document.cmarquee01.document.cmarquee02.top-=speed
setTimeout("scrollit()",50)
}
else{
document.cmarquee01.document.cmarquee02.top=marqueeheight
scrollit()
}
}

//window.onload=regenerate2
