// JS

var delayb4scroll_projects=3000 //Specify initial delay before marquee starts to scroll on page (2000=2 seconds)
var marqueespeed1=2 //Specify marquee scroll speed (larger is faster 1-10)
var pauseit_projects=1 //Pause marquee onMousever (0=no. 1=yes)?
////NO NEED TO EDIT BELOW THIS LINE////////////
var copyspeed1=marqueespeed1
var pausespeed1=(pauseit_projects==0)? copyspeed1: 0
var actualheight_projects=''

function scrollmarquee1()
{
	if (parseInt(cross_marquee_projects.style.top)>(actualheight_projects*(-1)+8))
	cross_marquee_projects.style.top=parseInt(cross_marquee_projects.style.top)-copyspeed1+"px"
	else
	cross_marquee_projects.style.top=parseInt(marqueeheight_projects)+8+"px"
}

function initializemarquee1()
{
	cross_marquee_projects=document.getElementById("vmarquee1")
	cross_marquee_projects.style.top=0
	marqueeheight_projects=document.getElementById("marqueecontainer1").offsetHeight
	actualheight_projects=cross_marquee_projects.offsetHeight
	if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1)
	{ 
	  //if Opera or Netscape 7x, add scrollbars to scroll and exit
	  cross_marquee_projects.style.height=marqueeheight_projects+"px"
	  cross_marquee_projects.style.overflow="scroll"
	  return
	}

	setTimeout('lefttime=setInterval("scrollmarquee1()",60)', delayb4scroll_projects)
}

if (window.addEventListener)
window.addEventListener("load", initializemarquee1, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee1)
else if (document.getElementById)
window.onload=initializemarquee1

