<!-- // 
var iTimerId; // interval timer

function closeSplash()
{	
	// Close splash
	document.getElementById('splash').style.display = "none";
	document.getElementById('splashbase').style.display = "none";
}

// Set auto-close time if browser supports it.
var AltPopSupported = (document.getElementById && document.createElement && !window.opera);
function StartSplashTimer()
{
	// Close after 30 seconds.
	var timer = 30000;
	if (AltPopSupported)
		iTimerId = window.setInterval("closeSplash();",timer);
}

// clear auto-close timer
function StopSplashTimer()
{
	if (AltPopSupported)
		window.clearInterval(iTimerId);
}

function checkCookieShowSplash()
{
	return;  //Himanshu Patel 03/12/07 disabled splash screen
		// check if user is a subscriber (be it paid or free), if so, don't show cookie
	if (document.cookie.indexOf("Subscriber=")==-1)
	{
		// check if splashFlag is set (splash has been shown before)
		if (document.cookie.indexOf("splashFlag=")==-1)
		{
			var today = new Date();
			var expires = new Date();
			expires.setTime(today.getTime() + 60*60*16*1000);  // +24 hours expiration
			document.cookie = "splashFlag="+today+";path=/;expires="+expires;
		
			// show splash
			document.getElementById('splash').style.display = "block";
			document.getElementById('splashbase').style.display = "block";
			StartSplashTimer();
		}
	}		
}


// Write the xhtml.
document.write('<div id="splash" style="display:none"><div style="text-align:right;margin-bottom:10px;">'
		+'<a href="JavaScript:closeSplash();">'
		+'<img src="/Common/images/investor/CloseForm.gif" border="0" alt="close this form" width="103"></a></div>'
		+'"<div id="splashbase" style="display:none;">&nbsp;</div>');
// -->




