TICKER_RIGHTTOLEFT = false;
TICKER_SPEED = 2;
TICKER_STYLE = "font-family:Arial; font-size:12px; color:#444444";
TICKER_PAUSED = false;
TICKER_CONTENT = "C# and VB.NET Code Generation ... " +
				 "Windows and Web Form UI Designer Helpers ... " +
				 "Extensive API and ORM/DAL features ... " +
				 "FREE Database Schema Compare Utility ... " +
				 "Save up to 50% project development time ... " +
				 "Fully integrated with IDE, PLUS standalone Model Editor ... " +
				 "Model Browser lets you build Models from other Models ... " +
				 "Full IDE Integration for VS 2002 / 2003 / 2005 ... " +
				 "Model Editor ... " +
				 "Class Diagrams ... " +
				 "Code and Data Mappings ... " +
				 "Context Views ... " +
				 "Disconnected Objects ... " +
				 "Generate VS Projects in C#/VB.NET ... " +
				 "Works with SQL Server 7/2000/2005 ... " +
				 "Works with MSDE 2000 ... " +
				 "vWorks with Access 2000 ... " +
				 "Works with Sybase Adaptive Server Engine ... " +
				 "Create Model from Database Schema ... " +
				 "Create Model from scratch ... " +
				 "Built in Object Relational Mapping ... " +
				 "Built in Data Access Layer ... " +
				 "Lazy Fill ... " +
				 "Create Database Schema from Model ... " +
				 "Synchronize Database Schema with Model ... " +
				 "Class and Table Inheritance ... " +
				 "Many to Many Relationships ... " +
				 "Retain Business Logic when generate code ... " +
				 "Provide datasets for Reports ... " +
				 "Model Resource Editor Utility ... " +
				 "End-user Secure Connection String Utility ... " +
				 "End-user Database Synchronization Utility ... " +
				 "Model Documentation functionality ... " +
				 "Use Third Party UI controls ... " +
				 "Standalone Model Editor (runs w/o Visual Studio)  ... "

ticker_start();

function ticker_start() {
	var tickerSupported = false;
	TICKER_WIDTH = document.getElementById("TICKER").style.width;
	var img = "<img src=ticker_space.gif width="+TICKER_WIDTH+" height=0>";

	// Firefox
	if (navigator.userAgent.indexOf("Firefox")!=-1 || navigator.userAgent.indexOf("Safari")!=-1) {
		document.getElementById("TICKER").innerHTML = "<TABLE  cellspacing='0' cellpadding='0' width='100%'><TR><TD nowrap='nowrap'>"+img+"<SPAN style='"+TICKER_STYLE+"' ID='TICKER_BODY' width='100%'>&nbsp;</SPAN>"+img+"</TD></TR></TABLE>";
		tickerSupported = true;
	}
	// IE
	if (navigator.userAgent.indexOf("MSIE")!=-1 && navigator.userAgent.indexOf("Opera")==-1) {
		document.getElementById("TICKER").innerHTML = "<DIV nowrap='nowrap' style='width:100%;'>"+img+"<SPAN style='"+TICKER_STYLE+"' ID='TICKER_BODY' width='100%'></SPAN>"+img+"</DIV>";
		tickerSupported = true;
	}
	if(!tickerSupported) document.getElementById("TICKER").outerHTML = ""; else {
		document.getElementById("TICKER").scrollLeft = TICKER_RIGHTTOLEFT ? document.getElementById("TICKER").scrollWidth - document.getElementById("TICKER").offsetWidth : 0;
		document.getElementById("TICKER_BODY").innerHTML = TICKER_CONTENT;
		document.getElementById("TICKER").style.display="block";
		TICKER_tick();
	}
}

function TICKER_tick() {
	if(!TICKER_PAUSED) document.getElementById("TICKER").scrollLeft += TICKER_SPEED * (TICKER_RIGHTTOLEFT ? -1 : 1);
	if(TICKER_RIGHTTOLEFT && document.getElementById("TICKER").scrollLeft <= 0) document.getElementById("TICKER").scrollLeft = document.getElementById("TICKER").scrollWidth - document.getElementById("TICKER").offsetWidth;
	if(!TICKER_RIGHTTOLEFT && document.getElementById("TICKER").scrollLeft >= document.getElementById("TICKER").scrollWidth - document.getElementById("TICKER").offsetWidth) document.getElementById("TICKER").scrollLeft = 0;
	window.setTimeout("TICKER_tick()", 30);
}
