/* Content Area */
window.onload=InitPage;
function InitPage(){
		var flashVars = {};
		var flashParams = {allowScriptAccess: "sameDomain",loop:"false",quality:"high",wmode:"transparent",bgcolor:"#ffffff"};
/*
		var flashAttributes = {style:"position: absolute; top:42px; left: 0px;"};
			swfobject.embedSWF("/static/txhealth-inquisiq-com/flash/thsteps-flash-intro2.swf","flash_intro_container","711","367","8.0.0","/_includes/swfobject/expressInstall.swf",
													flashVars,flashParams,flashAttributes);

		var flashAttributes = {style:"position: absolute; top:227px; left: 413px;"};
			swfobject.embedSWF("/static/txhealth-inquisiq-com/flash/thsteps-flash-intro2.swf","flash_intro_container","665","376","8.0.0","/_includes/swfobject/expressInstall.swf",
													flashVars,flashParams,flashAttributes);
													*/
		var flashAttributes = {style:"position: absolute; top:0px; right:0px;"};
		if (!readCookie('IgnoreFlashIntro')){
			swfobject.embedSWF("/static/txhealth-inquisiq-com/flash/thsteps-flash-intro3.swf","flash_intro_container","675","370","8.0.0","/_includes/swfobject/expressInstall.swf",
													flashVars,flashParams,flashAttributes);
			createCookie('IgnoreFlashIntro','1',7);
		}else{
			showProvider();
		}
} // InitPage()
		function showProvider(){

			document.getElementById('Content').style.position = 'relative';
			document.getElementById('Content').style.left = '0px';
			document.getElementById('Content').style.top = '0px';
			document.getElementById('Content').style.float = 'right';
			/*
			document.getElementById('Content').style.float = 'right';
			*/
			/*
			document.getElementById('Content').class = 'float_right';
			*/

/*			document.getElementById('provider_container').style.position = 'static'; */
		}
		function hideIntro(){
			document.getElementById('flash_intro_container').style.left = '-2000px';
			return void(0);
		}
function createCookie(name,value,days) {
	if (days) {
		var date = new Date();
		date.setTime(date.getTime()+(days*24*60*60*1000));
		var expires = "; expires="+date.toGMTString();
	}
	else var expires = "";
	document.cookie = name+"="+value+expires+"; path=/";
}

function readCookie(name) {
	var nameEQ = name + "=";
	var ca = document.cookie.split(';');
	for(var i=0;i < ca.length;i++) {
		var c = ca[i];
		while (c.charAt(0)==' ') c = c.substring(1,c.length);
		if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length,c.length);
	}
	return null;
}
		

