// JavaScript Document - Tutorial Video Detection

var mktQs = window.location.pathname.substring(1);
var browserName=navigator.appName; 
if (mktQs == "MarketCalendar.do")
{
	
	document.write("<style type=\"text/css\">");
	document.write("#flashContent {");
	
 	if (browserName=="Microsoft Internet Explorer")
 	{
  		document.write("	top:108px;");
		document.write("	*top:235px;");
		document.write("	_top:235px;");
 	}
 		else
 	{
    	document.write("	top:225px;");
   	}



	
	
	document.write("	position:relative;");
	document.write("	width:100px;");
	document.write("	height:67px;");
	document.write("	left:335px;");
	document.write("	*left:435px;");
	document.write("	_left:465px;");
	document.write("	z-index:100;");
	document.write("	margin:0px auto 0px auto; ");
	document.write("}");
	document.write("</style>");
	
	document.write("<div id=\"flashContent\"></div>");
		
	var so = new SWFObject("/tutorials/swfs/button.swf", "lvFlash", "150", "100", "8", "#FFFFFF");
	so.addVariable("videoType","DestinationCalendar");
	so.useExpressInstall('/images/expressinstall.swf');
	so.write("flashContent");
}