//Cached on: Friday 12th of March 2010 02:56:28 AM
var vMarquee = Class.create();
vMarquee.prototype = {
	speed:1,
	initialize: function(id) {
		this.id=id;
		$(this.id).style.top=0;
		if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1) {
			$(this.id).style.height=$("marqueecontainer").offsetHeight+"px";
			$(this.id).style.overflow="scroll";
			return false;
		}
		
		setTimeout('setInterval("vm.scroll()",60)', 2000);
	},
	scroll: function() {
		$(this.id).style.top=parseInt($(this.id).style.top)>($(this.id).offsetHeight*(-1)+8)?parseInt($(this.id).style.top)-this.speed+"px":parseInt($("marqueecontainer").offsetHeight)+8+"px";
	}
};

var vm;
Event.observe(window, 'load', function() {
	vm=new vMarquee("vmarquee");
});