<!-- // 


function closeOverlay()
{
	
}



// Set auto-close time if browser supports it.
var AltPopSupported = (document.getElementById && document.createElement && !window.opera);
function StartOverlayTimer()
{
	// Close after 30 seconds.
	var iOverlayDisplayTime = 10000;
	if (AltPopSupported)
	{
		iTimerID = window.setInterval("closeOverlay()",iOverlayDisplayTime);
	}
}
window.onload = StartOverlayTimer;

// Default to blank source.
var source;
if (source == null)
{
	source = "";
}

if (document.getElementById('overlay') == null) {
	//TopPosition = (screen.height) ? ((screen.height)-500)/2 : 0;
	TopPosition = 50;
	LeftPosition = (screen.width) ? ((screen.width)-600)/2: 100;
	//OverlayWidth = (screen.width) ? (screen.width)/2 : 500;
	OverlayWidth = 600;
	//OverlayHeight = 500;
	OverlayHeight = (screen.height) ? (screen.height)/2 : 500;
	
	 
	document.write('<style type="text/css" media="screen">	');
	document.write('#overlay {	');
	document.write('background-color:transparent;	');
	document.write('border:0px solid #333; ');
	document.write('position:absolute;	');
	document.write('top:'+TopPosition+'px;	');
	document.write('left:'+LeftPosition+'px;');
	document.write('width:'+OverlayWidth+'px;	');
	document.write('height:'+OverlayHeight+'px;	');
	document.write('z-index:102;	');
	document.write('padding:0;	');
	document.write('filter:progid:DXImageTransform.Microsoft.dropshadow(OffX=3, OffY=3, ');
  	document.write('     Color=\'#3D4B5A\', Positive=\'1\'); ');
	document.write('}');
	document.write('#overlay p#close {');
	document.write('position:relative;');
	document.write('font:bold 11px arial,verdana,sans-serif;');
	document.write('background-color:#FFFFFF;');  
	document.write('margin-bottom:0;');
	document.write('text-align:right;');
	document.write('padding:1px 2px 0 0;');
	document.write('border-bottom:1px solid #fff;');
	document.write('}');
	document.write('#close a:link,#close a:visited {');
	document.write('	color:#039;');
	document.write('}');
	document.write('#close a:hover {');
	document.write('	color:#c30;');
	document.write('}');
	document.write('#overlaybase {');
	document.write('	z-index:100;');
	document.write('	background-color:#001E3C;');
	document.write('	position:absolute;');
	document.write('	top:0;');
	document.write('	left:0;');
	document.write('	width:100%;');
	document.write('	height:100%;');
	document.write('	opacity:.85;');
	document.write('	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=75);');
	document.write('	-moz-opacity:.85;');
	document.write('}');
	document.write('iframe#overlayiframe { ');
	document.write('	width:100%;');
	document.write('	height:100%;');
	document.write('	background-color:#FFFFFF;');
	document.write('}');
	document.write('</style>	');
	document.write('<div id="overlay"><iframe id="overlayiframe" frameborder="0" scrolling="auto" src="http://www.spearreport.com/Build/STOCKPROFILES/LoginOverlay/LoginOverlay.php' + source + '"></iframe></div><div id="overlaybase">&nbsp;</div>	');
}
// -->
