var TALENT_VIDEO = 
{
	
	_strVideoHolder : 'videoHolderL',
	_intVideoWidth : 720,
	_intVideoHeight : 600,
	_strFlashVersion : '10.0.0',
	
	_strVideoDir : '../assets/flash/Talent/',
	_strInitialSWF : 'talent.swf',
	
	_objVideoWrapper : null,
	
	_objLowFlashMsg : null,
	_objNoFlashMsg : null,
	
	
	_objContentHolder : null,
	
	init : function() 
	{
		this._objVideoWrapper = document.getElementById('videoWrapperL');
		this._objLowFlashMsg = document.getElementById('lowFlashL');
		this._objNoFlashMsg = document.getElementById('noFlashL');
		this._objContentHolder = document.getElementById('contentTalentL');
		
		this.playVideo(this._strInitialSWF);
	},
	
	playVideo : function(_strFileName)
	{	
		_strFileName = this._strVideoDir + _strFileName;
		
		if(siteVersionToDisplay == "flash")
		{
			if(flashPlayerVersionNumber >= 8 && flashPlayerVersionNumber)
			{
				this.embedFlash(_strFileName);	
			}
			else {
				this._objLowFlashMsg.style.display = "block"; // Show Low flash msg
				this._objVideoWrapper.style.display = "none"; // Hide the papermation
				this._objContentHolder.style.margin = "0px";
				
			}
		}
		else {
				this._objNoFlashMsg.style.display = "block"; // Show no flash msg
				this._objVideoWrapper.style.display = "none"; // Hide the papermation
				this._objContentHolder.style.margin = "0px";
		}			
	},
	
	embedFlash : function(_strSWFfileName)
	{	
		var _flashVars = {};
		
		swfobject.embedSWF(_strSWFfileName, this._strVideoHolder,this._intVideoWidth, this._intVideoHeight, this._strFlashVersion, '', _flashVars, {wmode:'transparent'});   	
	}

}
