var __doc__;
var __frm__;
var isFlashPresent = null;	
var isWMPPresent = null;
var isQTPresent = null;
var objSpanType; // For Video Span Type
var intPref; // For Preference
var strASFPrevPath; // For Preview Path
var strQTPrevPath;
var strFLASHPrevPath;
var strFlashFileName;
var strFlashStreamingIP;
var strAudioPrevPath
var strThumbPath; // For Thumb image Path
var gblBlnFlag;
var strPrintPage;
//Added for Issue 9373
var blnNonLoginShowPlayer = false;

function AssetDetailsEx_isFlashInstalled()
{ 
	isFlashPresent = getCookie('PLUGIN_FLASH');
	if (isFlashPresent == '1')
	{
		isFlashPresent = true;
	}
	else
	{
		isFlashPresent = false;
	}
	return isFlashPresent; 
}

function AssetDetailsEx_isWMPInstalled()
{
	isWMPPresent = getCookie('PLUGIN_WMP');
	if (isWMPPresent == '1')
	{
		isWMPPresent = true;
	}
	else
	{
		isWMPPresent = false;
	}
	return isWMPPresent;
}

function AssetDetailsEx_isQTInstalled()
{
	isQTPresent = getCookie('PLUGIN_QT');
	if (isQTPresent == '1')
	{
		isQTPresent = true;
	}
	else
	{
		isQTPresent = false;
	}
	return isQTPresent;
}
	
//added for issue 10135 (HF43) start

function loaded()
{
	// Do Nothing
}
//added for issue 10135 (HF43) end

function AssetDetailsEx_ShowPlayer(blnFlag)
{	
	strPrintPage = $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidPrintPageLink').value;	      
	gblBlnFlag=blnFlag;
    if(blnFlag.toUpperCase()=='T')
    {				
		
		strASFPrevPath = $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidAssetASFPrevPath');	
		strASFPrevPath = strASFPrevPath.value;		
		
		strQTPrevPath = $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidAssetQTPrevPath');	
		strQTPrevPath = strQTPrevPath.value;		
		
		strFLASHPrevPath = $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidAssetFLASHPrevPath');
		strFLASHPrevPath = strFLASHPrevPath.value;	
		
		strFlashFileName = $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidFlashFileName');
		strFlashFileName = strFlashFileName.value;		
		
		strFlashStreamingIP = $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidFlashStreamingIP');
		strFlashStreamingIP = strFlashStreamingIP.value;		
		
		strAudioPrevPath=  $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidAudioPrevPath');		
		strAudioPrevPath = strAudioPrevPath.value;		
		
		strThumbPath= $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidThumbPath');
		strThumbPath = strThumbPath.value;		
		
		strAssetType= $(returnControlId('AssetDetailsEx_ascx') + '_' + 'hidAssetType');
		strAssetType = strAssetType.value;		
		
	}
	else if(blnFlag.toUpperCase()=='P')
	{				
		strPrintPage = 	$('AssetDetailsEx1_hidPrintPageLink').value;	
		
		intPref = $('AssetDetailsEx1_hidPref').value;			
		//strASFPrevPath = $('AssetDetailsEx1_hidAssetASFPrevPath').value;		
		//strQTPrevPath = $('AssetDetailsEx1_hidAssetQTPrevPath').value;		
		//strFLASHPrevPath = $('AssetDetailsEx1_hidAssetFLASHPrevPath').value;		
		//strFlashFileName = $('AssetDetailsEx1_hidFlashFileName').value;		
		//strFlashStreamingIP = $('AssetDetailsEx1_hidFlashStreamingIP').value;		
		//strAudioPrevPath= $('AssetDetailsEx1_hidAudioPrevPath').value;		
		strThumbPath= $('AssetDetailsEx1_hidThumbPath').value;		
		strAssetType= $('AssetDetailsEx1_hidAssetType').value;
		
	}	
	
	AssetDetailsEx_ShowFlash();
	
}		

function AssetDetailsEx_ShowFlash()
{  
   CheckAccessRestriction();
	/*********** For Video[AssetType=1] **************************/
	 if (strAssetType == '1')
	  {	   
	   if(strPrintPage == 'False' )	
   	   {  
		/************ To check if Video Path is Avalaible or not***********/  
		
		if (strFLASHPrevPath == '')
		 {       
			/************ VideoPath is Not Avalaible ***********/  
			AssetDetailsEx_PreviewMacORWindows();						
		 }
		else
		 /************ VideoPath is Avalaible ***********/  
		 { 
 			/************* To check if Flash is present or not **********************************************/
 			AssetDetailsEx_isFlashInstalled();
 			if (isFlashPresent)			
			{ 		  
			   /******************** Flash Player is Present  **********************************************/		  
				if (strShowPlayer=='false')
				{
					if (blnNonLoginShowPlayer)
			    	{
			    		//9873 start  SR 9.10 10724
			    	if(parseInt(intIsStreamingAsset) == 2)  // streaming only asset
				    { 
			    	$('EmbedSpanAssetDetailVideo').innerHTML="<table cellpadding='0' cellspacing='0' border='0' ><tr><td><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='345' height='305' id='sa_new_overlay' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" +strThumbPath+ "&stream="+ strFlashFileName +"&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Download a streaming-quality version of this video directly to your computer.&displayOverlay=0' /><param name='quality' value='high' /><param name='bgcolor' value='#f0f0ed' /><param name='wmode' value='transparent' /><embed src='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" + strThumbPath +"&stream=" + strFlashFileName + "&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Download a streaming-quality version of this video directly to your computer.&displayOverlay=0' wmode='transparent' quality='high' bgcolor='#f0f0ed' width='345' height='305' name='sa_new_overlay' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></td></tr></table>";
			    	}
			    	else
			    	{
			    	$('EmbedSpanAssetDetailVideo').innerHTML="<table cellpadding='0' cellspacing='0' border='0' ><tr><td><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='345' height='305' id='sa_new_overlay' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" +strThumbPath+ "&stream="+ strFlashFileName +"&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive a broadcast-standard or streaming quality version.&displayOverlay=0' /><param name='quality' value='high' /><param name='bgcolor' value='#f0f0ed' /><param name='wmode' value='transparent' /><embed src='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" + strThumbPath +"&stream=" + strFlashFileName + "&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Add clip to your cart to receive either broadcast-standard or streaming quality version of this video&displayOverlay=0' wmode='transparent' quality='high' bgcolor='#f0f0ed' width='345' height='305' name='sa_new_overlay' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></td></tr></table>";
			    	}
			    			
			    		//9873 end
			    	}
			    	else
			    	{
			    		ShowNonLoggedInPreviewPlayer();
			    	}
				}
				else
				{
						//9873 start  SR 9.10 10724
			    	if(parseInt(intIsStreamingAsset) == 2)  // streaming only asset
				    { 
					$('EmbedSpanAssetDetailVideo').innerHTML="<table cellpadding='0' cellspacing='0' border='0' ><tr><td><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='345' height='305' id='sa_new_overlay' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" +strThumbPath+ "&stream="+ strFlashFileName +"&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Download a streaming-quality version of this video directly to your computer.&displayOverlay=1' /><param name='quality' value='high' /><param name='bgcolor' value='#f0f0ed' /><param name='wmode' value='transparent' /><embed src='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" + strThumbPath +"&stream=" + strFlashFileName + "&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Download a streaming-quality version of this video directly to your computer.&displayOverlay=1' quality='high' bgcolor='#f0f0ed' wmode='transparent' width='345' height='305' name='sa_new_overlay' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></td></tr></table>";
					}
					else
					{
					$('EmbedSpanAssetDetailVideo').innerHTML="<table cellpadding='0' cellspacing='0' border='0' ><tr><td><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0' width='345' height='305' id='sa_new_overlay' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" +strThumbPath+ "&stream="+ strFlashFileName +"&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive a broadcast-standard or streaming quality version.&displayOverlay=1' /><param name='quality' value='high' /><param name='bgcolor' value='#f0f0ed' /><param name='wmode' value='transparent' /><embed src='" + strSWFPath + "StreamingPlayer.swf?ID=" + hidAssetId +"&TRT=" + hidTRT + "&overlay_img=" + strThumbPath +"&stream=" + strFlashFileName + "&fmsip=" + strFlashStreamingIP + "&prog=" + strFLASHPrevPath + "&dcText=IMPORTANT: Note that this is only a preview. Add clip to your cart to receive either broadcast-standard or streaming quality version of this video&displayOverlay=1' quality='high' bgcolor='#f0f0ed' wmode='transparent' width='345' height='305' name='sa_new_overlay' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></td></tr></table>";
					}
					//9873 end
				}
			}
			else
			{
			    AssetDetailsEx_PreviewMacORWindows();
			}
		 }
	 }
	 else
	  /********* Page is Print-Friendly Page ************************************/
	 {	  
		if ($("EmbedSpanAssetDetailVideo")!= null )
	    {
			$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='220' height='170'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table cellspacing='0' cellpadding='0' border='0'><tr><td align='center'><img  src='" + strThumbPath + "'</img></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
	    }
	 }	
	
  }
	/*********** For Audio[AssetType=2] **************************/
	//changed for Issue 9373
	else if (strAssetType == '2')
	{		
	   
	   if(strPrintPage == 'False' )	
		 /********************* Page is not PrintFriendly****************************************/	
		{		 
			/************ To check if Audio Path is Avalaible or not***********/  
			if (strAudioPrevPath == '')
			/***************** Audio Path is not available **************************************/
			{		
				objSpanType = 'EmbedSpanAssetDetailAudio';			
				$('EmbedSpanAssetDetailAudio').innerHTML = "<table><tr><td width='241' height='226'><img width='241' height='226' src='" + strThumbPath + "' border='0'></img></td></tr></table>";	
			}
			else
			/***************** Audio Path is available **************************************/
			{ 
 				/************* To check if Flash is present or not **********************************************/
 			  
 				if (strShowPlayer=='false') 
			    {
			       $('EmbedSpanAssetDetailAudio').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='25' class='whiteColor'><tr><td><img src='" + strjsImagePath + "nonLoggedInAudioDetails.gif' onclick='AssetDetailEx_ShowLoginLayer();' href='#'></td></tr></table>";		     
			       //9873 start
					if(parseInt(intNonLoginPreviewLimit) == 0)
 					{
						$('EmbedSpanAssetDetailAudioMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'>					 </td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>If you are an approved user, please login to preview this asset. If you are new to this site and would like previewing privileges, please <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register now</font></a> for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}
					else
					{
						$('EmbedSpanAssetDetailAudioMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'>LOGIN OR REGISTER</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>To continue previewing assets on The Newsmarket, please login or take a moment to <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register</font></a> with us for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}
					//9873 end
			    }
			   
			   else
			    { //9873 start
			        AssetDetailsEx_isFlashInstalled(); 		
			        AssetDetailsEx_isWMPInstalled();
 					if (isFlashPresent)
 					{
	 				 	
					/******************** Flash Player is Present  **********************************************/
					
					$('EmbedSpanAssetDetailAudio').innerHTML = "<table cellpadding='0' cellspacing='0' border='0' width='342'><tr><td style='vertical-align: top;'><object classid='clsid:d27cdb6e-ae6d-11cf-96b8-444553540000' codebase='http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0' width='350' height='60' id='tnm_player' align='middle'><param name='allowScriptAccess' value='sameDomain' /><param name='movie' value='" + strSWFPath + "tnm_player.swf?audioFile=" + strAudioPrevPath+ "' /><param name='quality' value='high' /><param name='bgcolor' value='#f5f5f5' /><embed src='" + strSWFPath + "tnm_player.swf?audioFile=" + strAudioPrevPath + "' quality='high' bgcolor='#f5f5f5' width='350' height='60' name='tnm_player' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object></td></tr></table>";  
					$('EmbedSpanAssetDetailAudioMsg').innerHTML = "<table cellpadding=0 cellspacing=0 width='100%' height='20px'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td style ='text-decoration:none'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive it.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}				
					else if (isWMPPresent)
					{
					$('EmbedSpanAssetDetailAudio').innerHTML= "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='65'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='45' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strAudioPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strAudioPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='45'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";				   
					$('EmbedSpanAssetDetailAudioMsg').innerHTML = "<table cellpadding=0 cellspacing=0 width='100%' height='20px'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td style ='text-decoration:none'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive it.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}				  
					else
					{
					$('EmbedSpanAssetDetailAudio').innerHTML = "<table cellspacing='0' cellpadding='0' border='1' width='241' height='226'><tr><td><img width='241' height='206' src='" + strThumbPath + "'</img></td></tr></table>";
					$('EmbedSpanAssetDetailAudioMsg').innerHTML = "<table cellpadding=0 cellspacing=0 width='100%' height='20px'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td style ='text-decoration:none'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive it.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}
							
				}				
			}
		}
		else
		/***************** Page is Print Friendly ****************************************/
		{
			if ($("EmbedSpanAssetDetailAudio")!= null )
			{ 
			
				if (strShowPlayer=='false')
				{
				$('EmbedSpanAssetDetailAudio').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='220' height='170'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table cellspacing='0' cellpadding='0' border='0'><tr><td align='center'><img  src='" + strThumbPath + "'</img></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
				//9873 start
					if(parseInt(intNonLoginPreviewLimit) == 0)
 					{
						$('EmbedSpanAssetDetailAudioMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'>					  </td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>If you are an approved user, please login to preview this asset. If you are new to this site and would like previewing privileges, please <font color='#EA0030'>register now</font> for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}
					else
					{
						$('EmbedSpanAssetDetailAudioMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'>LOGIN OR REGISTER</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>To continue previewing assets on The Newsmarket, please login or take a moment to <font color='#EA0030'>register</font> with us for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
					}
					//9873 end
				}
				else
				{
				$('EmbedSpanAssetDetailAudio').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='220' height='170'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table cellspacing='0' cellpadding='0' border='0'><tr><td align='center'><img  src='" + strThumbPath + "'</img></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
				$('EmbedSpanAssetDetailAudioMsg').innerHTML = "<table cellpadding=0 cellspacing=0 width='100%' height='20px'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td style ='text-decoration:none'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive it.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
				}
				
			}//9873 end
		}	 	
	}	
	// For Still  
	//9873 start
	else if (strAssetType == '3')
	{	 	
 	   if (strPrintPage == 'False' )	
 	   {	    
 	      if (strShowPlayer=='false')
		  {
				$('EmbedSpanAssetDetailStill').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='212' height='190'><tr><td colspan='3' align='center'><table cellspacing='0' cellpadding='0' border='0' ><tr><td><a href='#'><img  src='" + strThumbPath + "' class='grayTableBorder' width='200' height='150'></a></td></tr></table></td></tr><tr height='5'><td colspan='2'><img src='" + strjsImagePath + "s.gif' height='5' ></img></td></tr><tr height='16'><td></td><td  style='width:185;'>&nbsp;<img src='" + strjsImagePath + "nonLoggedInStillDetail.gif' onclick='AssetDetailEx_ShowLoginLayer();' href='#'></td></tr ><tr height='5'><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5'></img></td></tr></table>";		 
				//9873 start
				if(parseInt(intNonLoginPreviewLimit) == 0)
 				{
				$('EmbedSpanAssetDetailStillMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'></td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>If you are an approved user, please login to preview a larger version of this image. If you are new to this site and would like previewing privileges, please <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register now</font></a> for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
				}
				else
				{
				$('EmbedSpanAssetDetailStillMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'>LOGIN OR REGISTER</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>To continue previewing assets on The Newsmarket, please login or take a moment to <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register</font></a> with us for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
				}
				//9873 end
		  }
		  else
		  {
 				$('EmbedSpanAssetDetailStill').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='212' height='190'><tr><td colspan='3' align='center'><table cellspacing='0' cellpadding='0' border='0' ><tr><td><a href='#'><img  src='" + strThumbPath + "' class='grayTableBorder' onclick='PreviewStillLayer();' width='200' height='150'></a></td></tr></table></td></tr><tr height='5'><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' ></img></td></tr><tr height='16'><td><img src='" + strjsImagePath + "s.gif'width='7'></img></td><td width='25'><a href='#' ><img border='0' id='iconPreview' src='" + strjsImagePath + "icon_preview_white.gif' onclick='PreviewStillLayer();' width='17' height='16' ></a></td><td  style='width:185;'><a border='0'  href='#' onclick='PreviewStillLayer();' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>View larger Version</a></td></tr ><tr height='5'><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5'></img></td></tr></table>";		
 				$('EmbedSpanAssetDetailStillMsg').innerHTML = "<table cellpadding=0 cellspacing=0 width='100%' height='20px'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td style ='text-decoration:none'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive a print quality version.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
 	      }
 	   }
 	   else
 	   {
			if ($("EmbedSpanAssetDetailStill")!= null )
			{	
				if (strShowPlayer=='false')
				{
				$('EmbedSpanAssetDetailStill').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='210' height='160'><tr><td colspan='3' align='center'><table cellspacing='0' cellpadding='0' border='0' ><tr><td><img  src='" + strThumbPath + "' class='grayTableBorder' width='200' height='150'></td></tr></table></td></tr></td></tr></table>";		
				//9873 start
 					if(parseInt(intNonLoginPreviewLimit) == 0)
 					{
 					$('EmbedSpanAssetDetailStillMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'></td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>If you are an approved user, please login to preview a larger version of this image. If you are new to this site and would like previewing privileges, please <font color='#EA0030'>register now</font> for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
 					}
 					else
 					{
 					$('EmbedSpanAssetDetailStillMsg').innerHTML ="<table cellpadding=0 cellspacing=0 width='100%' height='20px' style='background-color:#000000'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenBold'>LOGIN OR REGISTER</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td class='labelGreenLinks' style ='text-decoration:none'>To continue previewing assets on The Newsmarket, please login or take a moment to <font color='#EA0030'>register</font> with us for free.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
 					}
 					//9873 end
				}
				else
				{
 				$('EmbedSpanAssetDetailStill').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' width='210' height='160'><tr><td colspan='3' align='center'><table cellspacing='0' cellpadding='0' border='0' ><tr><td><img  src='" + strThumbPath + "' class='grayTableBorder' width='200' height='150'></td></tr></table></td></tr></td></tr></table>";		
 				$('EmbedSpanAssetDetailStillMsg').innerHTML = "<table cellpadding=0 cellspacing=0 width='100%' height='20px'><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td><td style ='text-decoration:none'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive a print quality version.</td><td><img src='" + strjsImagePath + "s.gif' height='2' width='5'></td></tr><tr><td colspan='3'><img src='" + strjsImagePath + "s.gif' height='5' width='2'></td></tr></table>";
 				}
				
			}
 	   }
 	   //9873 end
	 }    
}
/*************** Function To Show Flash Player End ***********************/


function AssetDetailsEx_PreviewMacORWindows()
{
	objSpanType = 'EmbedSpanAssetDetailVideo';
	if (txtIsMAC == "false")
	/****************Operating System Is Windows*************************************/
	{			  
		if (strBrowserName != "IE")
		{
			if(strQTPrevPath !='')
			{
				MDCEx_Show_WIN_QT();						  
			}
			else if(strASFPrevPath !='')
			{
				MDCEx_Show_WIN_WMP();
			}
			else
			{
				MDCEx_Show_NotAvailableImage();    
			}
		}
		else
		{
			if(strASFPrevPath !='')
			{
				MDCEx_Show_WIN_WMP();
			}				  
			else if(strQTPrevPath !='')
			{
				MDCEx_Show_WIN_QT();						  
			}
			else
			{
				MDCEx_Show_NotAvailableImage();    
			}	
		}
	}
	else
	/****************Operating System Is Mac*************************************/
	{			  
		if(strQTPrevPath !='')
		{
			MDCEx_Show_MAC_QT();					  
		}
		else if(strASFPrevPath !='')
		{
			MDCEx_Show_MAC_WMP();
		}
		else
		{
			MDCEx_Show_NotAvailableImage(); 
		}
	}
}

function MDCEx_Show_MAC_WMP()
{
	/********Check Plugins of Windows Media Player************/
	AssetDetailsEx_isWMPInstalled();
 	if (isWMPPresent)
	{					
		/*************Plugins of Windows Media Player Found**********/
		if (strShowPlayer=='false') 
		{
			if (blnNonLoginShowPlayer)
			{
				AssetDetailControl_isFlashInstalled();
				if(isFlashPresent)
				{			    		  	    			    
					$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='true'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";			
				}
				else
				{			  				    
					$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='true'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			
				}
			}
			else
			{
				ShowNonLoggedInPreviewPlayer();
			}
		}
		else
		{
			AssetDetailEx_isFlashInstalled();
			if(isFlashPresent)
			{			    		  	    			    
				$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";			
			}
			else
			{			  				    
				$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			
			}
		}		
	}
	else
	{
		AssetDetailEx_isFlashInstalled();
		if(isFlashPresent)
		{			    		  	    			    
			$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
		}
		else
		{			  				    
			$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td></tr><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
		}
	}
}

function MDCEx_Show_MAC_QT()
{
	AssetDetailsEx_isQTInstalled();
	if (isQTPresent)
	{					
		/***************Plugins of QT Player Found***************************************/
		if (strShowPlayer=='false') 
		{
			if (blnNonLoginShowPlayer)
			{
			    AssetDetailsEx_isFlashInstalled();
				if(isFlashPresent)
				{			  
					$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table ><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='true' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
				}
				else
				{
					$('EmbedSpanAssetDetailVideo').innerHTML = "<table><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table width='' height=''><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='true' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";
				}
			}
			else
			{
				ShowNonLoggedInPreviewPlayer();
			}
		}
		else
		{		
			AssetDetailsEx_isFlashInstalled();
			if(isFlashPresent)
			{			  
				$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table ><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='false' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
			}
			else
			{
				$('EmbedSpanAssetDetailVideo').innerHTML = "<table><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table width='' height=''><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='false' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";
			}
		}	
	}
	else
	{				
		/***************Plugins of QT Player Not Found***************************************/	
		/*
		AssetDetailEx_isFlashInstalled();
		if(isFlashPresent)
		{			    		  	    			    
			$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
		}
		else
		{			  				    
			$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td></tr><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
		}
		*/
		MDCEx_Show_MAC_WMP();	
	}
}

function MDCEx_Show_NotAvailableImage()
{
	$('EmbedSpanAssetDetailVideo').innerHTML =  "<table cellspacing='0' cellpadding='0' border='0'><tr><td colspan='2'><img src='" + strjsImagePath + "s.gif' width='3' height='3'></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='3' height='1'></td><td align='center'><img  src='" + strjsImagePath + "missingpeviewfile.gif'></td></tr></table>";
}

function MDCEx_Show_WIN_QT()
{
	AssetDetailsEx_isQTInstalled();
	if (isQTPresent)
	{					
		/***************Plugins of QT Player Found***************************************/
		if (strShowPlayer=='false') 
		{
			if (blnNonLoginShowPlayer)
			{
				AssetDetailsEx_isFlashInstalled();
				if(isFlashPresent)
				{
					$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table ><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='true' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
				}
				else
				{
					$('EmbedSpanAssetDetailVideo').innerHTML = "<table><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table width='' height=''><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='true' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";
				}
			}
			else
			{
				ShowNonLoggedInPreviewPlayer();
			}
			
		}
		else
		{	
			AssetDetailsEx_isFlashInstalled();
			if(isFlashPresent)
			{
				$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table ><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='false' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";
			}
			else
			{
				$('EmbedSpanAssetDetailVideo').innerHTML = "<table><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0'	border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table width='' height=''><tr><td><embed src='" + strQTPrevPath + "' width='320' height='278' scale='tofit' autoplay='false' controller='true' CACHE='true' type='video/quicktime'></embed></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";
			}
		}	
	}
	else
	{				
		/***************Plugins of QT Player Not Found***************************************/	
		if (strBrowserName != "IE")
		{
			MDCEx_Show_WIN_WMP();
		}
		else
		{
			AssetDetailEx_isFlashInstalled();
			if(isFlashPresent)
			{			    		  	    			    
				$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
			}
			else
			{			  				    
				$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td></tr><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
			}
		}	
	}	
}

function MDCEx_Show_WIN_WMP()
{
	/********Check Plugins of Windows Media Player************/
 	AssetDetailsEx_isWMPInstalled();
 	if (isWMPPresent)
	{					
		/*************Plugins of Windows Media Player Found**********/
		if (strShowPlayer=='false') 
		{
			if (blnNonLoginShowPlayer)
			{
				AssetDetailsEx_isFlashInstalled();
				if(isFlashPresent)
				{
					if (strBrowserName != "IE")
					{			   			    	
						$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Please click <a title='Goto FAQ.' href='../HelpPages/TNMHelp.aspx?SN=FAQ&HID=14&CID=7#WMP'>here</a> if you have trouble viewing video.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='true'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			 
					}
					else
					{
						$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='true'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";			
					}
				}
				else
				{
					if (strBrowserName != "IE")
					{
						$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.<br>! Please click <a title='Goto FAQ.' href='../HelpPages/TNMHelp.aspx?SN=FAQ&HID=14&CID=7#WMP'>here</a> if you have trouble viewing video.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='true'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			 
					}
					else
					{
						$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='true'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			 
					}
				}
			}
			else
			{
				ShowNonLoggedInPreviewPlayer();
			}
			
		}
		else
		{		
			AssetDetailsEx_isFlashInstalled();
			if(isFlashPresent)
			{
				if (strBrowserName != "IE")
				{			   			    	
					$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Please click <a title='Goto FAQ.' href='../HelpPages/TNMHelp.aspx?SN=FAQ&HID=14&CID=7#WMP'>here</a> if you have trouble viewing video.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			 
				}
				else
				{
					$('EmbedSpanAssetDetailVideo').innerHTML = "<table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";			
				}
			}
			else
			{
				if (strBrowserName != "IE")
				{
					$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.<br>! Please click <a title='Goto FAQ.' href='../HelpPages/TNMHelp.aspx?SN=FAQ&HID=14&CID=7#WMP'>here</a> if you have trouble viewing video.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			 
				}
				else
				{
					$('EmbedSpanAssetDetailVideo').innerHTML = "<tabe><tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='25'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr> <tr><td><table cellspacing='0' cellpadding='0' border='0' class='whiteColor' width='345' height='305'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='1'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif'  width='6' height='1'></td><td align='center'><table><tr><td><OBJECT id='mediaPlayer' width='320' height='284' classid='CLSID:22d6f312-b0f6-11d0-94ab-0080c74c7e95'><param name='fileName' value='" + strASFPrevPath +"'><param name='animationatStart' value='false'><param name='showControls' value='true'><param name='transparentatStart' value='false'><param name='ShowPositionControls' value='0'><Embed type='application/x-mplayer2' id='mediaPlayer' name='mediaPlayer' ShowPositionControls='0' autosize='1' bgcolor='green' showcontrols='true' showtracker='-1' showdisplay='0' showstatusbar='true'  src='" + strASFPrevPath +"' autostart='false'  loop='false' cache='false' width='320' height='284'></Embed></OBJECT></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table></td></tr></table>";			 
				}
			}
		}					
	}
	else
	{
		if (strBrowserName == "IE")
		{
			MDCEx_Show_WIN_QT();
		}
		else
		{
			AssetDetailEx_isFlashInstalled();
			if(isFlashPresent)
			{			    		  	    			    
				$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
			}
			else
			{			  				    
				$('EmbedSpanAssetDetailVideo').innerHTML =  "<table width='241' height='226' border='0'><tr><td valign='top' style='FONT-WEIGHT: normal; FONT-SIZE: 11px; COLOR: #ed224c;'>! Install the latest<a href='http://www.macromedia.com/go/getflashplayer/' onmouseover=return onText('Download Flash'); target='_blank'>&nbsp;Adobe Flash Player&nbsp;</a>to enhance your experience.</td></tr><tr><td width='100' height='140'><img id='imgPreview' width='231' height='180' src='"+ strThumbPath+"'></td></tr></table>";
			}
		}		
	}  	
}

function PreviewStillLayer()
{
	hideErrPageDiv();
	AssetPreviewLayer_GetAllAssetIDs(hidAssetId);
	AssetPreviewLayer_GetAssetValue(hidAssetId);
	AssetPreviewLayer_expandAssetPreview();
}

function AssetDetailEx_SourceURLHover(strMessage)
{
	var strTTHtml = "";

	strTTHtml += "<table cellspacing=\"0\" cellpadding=\"0\" width=\"170\" border=\"0\">"
	strTTHtml += "	<tr>"
	strTTHtml += "		<td><img src=\"" + strjsImagePath + "tt_error_edge_top_left.gif\" width=\"2\" height=\"2\"></td>"
	strTTHtml += "		<td><img src=\"" + strjsImagePath + "tt_error_edge_top_green.gif\" width=\"50\" height=\"2\"></td>"
	strTTHtml += "		<td class=\"toolTipRightBackground\"><img src=\"" + strjsImagePath + "tt_error_edge_top_transparent.gif\" width=\"100%\" height=\"2\"></td>"
	strTTHtml += "		<td class=\"toolTipRightBackground\"><img src=\"" + strjsImagePath + "tt_error_edge_top_right.gif\" height=\"2\" width=\"2\"></td>"
	strTTHtml += "	</tr>"
	strTTHtml += "	<tr>"
	strTTHtml += "		<td style=\"background-image: url(" + strjsImagePath + "tt_error_edge_left_green.gif);\"><img src=\"" + strjsImagePath + "tt_error_edge_left_green.gif\" width=\"2\" height=\"1\"></td>"
	strTTHtml += "		<td  bgcolor=\"#7DC242\">"
	strTTHtml += "			<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">"
	strTTHtml += "				<tr>"
	strTTHtml += "					<td class=\"toolTipExclamationOrQuestion\" align=\"center\"><img src=\"" + strjsImagePath + "tt_SourceURL.gif\" ></td>"
	strTTHtml += "				</tr>"
	strTTHtml += "			</table>"
	strTTHtml += "		</td>"
	strTTHtml += "		<td class=\"toolTipRightBackground\">"
	strTTHtml += "			<table cellspacing=\"0\" cellpadding=\"0\" width=\"100%\" border=\"0\">"
	strTTHtml += "				<tr>"
	strTTHtml += "					<td rowspan=\"3\"><img src=\"" + strjsImagePath + "s.gif\" width=\"10\" height=\"5\"></td>"
	strTTHtml += "					<td style=\"width: 100%\"><img src=\"" + strjsImagePath + "s.gif\" width=\"10\" height=\"5\"></td>"
	strTTHtml += "					<td rowspan=\"3\"><img src=\"" + strjsImagePath + "s.gif\" width=\"10\" height=\"5\"></td>"
	strTTHtml += "				</tr>"
	strTTHtml += "				<tr>"
	strTTHtml += "					<td>"
	strTTHtml += "						<table cellspacing=\"0\" cellpadding=\"0\" width=\"150\" border=\"0\">"
	strTTHtml += "	                       <tr>"
	strTTHtml += "                         <td>Click to visit:"
	
	strTTHtml += "	                       </td>" 
	strTTHtml += "		                    </tr>"
	strTTHtml += "							<tr>"
	strTTHtml += "								<td style=\"width: 100%;\">" + strMessage + "</td>"
	strTTHtml += "							</tr>"
	strTTHtml += "						</table>"
	strTTHtml += "					</td>"
	strTTHtml += "				</tr>"
	strTTHtml += "				<tr>"
	strTTHtml += "					<td><img src=\"" + strjsImagePath + "s.gif\" width=\"1\" height=\"5\"></td>"
	strTTHtml += "				</tr>"
	strTTHtml += "			</table>"
	strTTHtml += "		</td>"
	strTTHtml += "		<td class=\"toolTipRightBackground\" style=\"background-image: url(" + strjsImagePath + "tt_error_edge_right_transparent.gif);\"><img src=\"" + strjsImagePath + "tt_error_edge_right_transparent.gif\" width=\"2\" height=\"1\"></td>"
	strTTHtml += "	</tr>"
	strTTHtml += "	<tr>"
	strTTHtml += "		<td><img src=\"" + strjsImagePath + "tt_error_edge_bottom_left.gif\" width=\"2\" height=\"2\"></td>"
	strTTHtml += "		<td><img src=\"" + strjsImagePath + "tt_error_edge_bottom_green.gif\" width=\"50\" height=\"2\"></td>"
	strTTHtml += "		<td class=\"toolTipRightBackground\"><img src=\"" + strjsImagePath + "tt_error_edge_bottom_transparent.gif\" width=\"100%\" height=\"2\"></td>"
	strTTHtml += "		<td><img src=\"" + strjsImagePath + "tt_error_edge_bottom_right.gif\" height=\"2\" width=\"2\"></td>"
	strTTHtml += "	</tr>"
	strTTHtml += "</table>"

	return overlib(strTTHtml, FULLHTML, BACKGROUND, "" + strjsImagePath + "s.gif");
}
function AssetDetailEx_ShowLoginLayer()
{
		hideErrPageDiv();
	if(strAssetType == '1')
	{
		if(txtPrevAccessRestriction == 'true')
		{
			//Added for Issue 9373
			//Allow FE Preview functionality to Non Logged In users
			//The preview limit value is configurable (Non_Loggedin_Preview_Limit).
			if(IsNonloginPreviewEnabled())
			{
				blnNonLoginShowPlayer = true;
				AssetDetailsEx_ShowFlash();	
				var intPreviewedCount = getCookie('PreviewedCount');
				if(intPreviewedCount != null)
				{
					intPreviewedCount = parseInt(intPreviewedCount) + 1;
					document.cookie="PreviewedCount="+intPreviewedCount ;
				}
				else
				{
					document.cookie="PreviewedCount=1" ;
				}
			}
			else
			{
				
				expandPassRemWithCustomMessage(returnMessage(16013),'Y');	
			}
		}
		else
		{
			expandPassRemWithCustomMessage(returnMessage(16013),'Y');	
		}
	}
	else if(strAssetType == '2')
	{
	  expandPassRemWithCustomMessage(returnMessage(16013),'Y');
	
	}
	else if(strAssetType == '3')
	{
	  expandPassRemWithCustomMessage(returnMessage(16014),'Y');	
	}	
	window.scrollTo(0,0);
	
}	
	
function CheckAccessRestriction()
{
	strShowPlayer='true';
	if (txtFirstLogin == 'NONLOGIN')
	{
		//Added for FE Previews for Non-Logged in Users
		var strCLogin = 0;
		strCLogin = getCookie('TNMLogin');
		if (strCLogin != null)
		{
			strShowPlayer='true';
			return;
		}
			
		//Check If Asset Type is Audio and Preview Access Restriction is true
		if(txtPrevAccessRestriction == 'true' && strAssetType == '1')
		{
			strShowPlayer='false';	
		}
		else if(txtPrevAccessRestriction == 'true' && strAssetType == '2')
		{
			if (IsNonloginPreviewEnabled())
			{
				var intPreviewedCount = getCookie('PreviewedCount');
				if(intPreviewedCount != null)
				{
					intPreviewedCount = parseInt(intPreviewedCount) + 1;
					document.cookie="PreviewedCount="+intPreviewedCount ;
				}
				else
				{
					document.cookie="PreviewedCount=1" ;
				}
				strShowPlayer='true';
			}
			else
			{
				strShowPlayer='false';
			}
		}
		else if(txtPrevAccessRestriction == 'true' && strAssetType == '3')
		{
			if (IsNonloginPreviewEnabled())
			{
				strShowPlayer='true';
			}
			else
			{
				strShowPlayer='false';
			}
		}
	}		
}

function ShowNonLoggedInPreviewPlayer()
{
	var AssetId = '';
	var TRTValue = '';
	if($("hidAssetId") && $("hidTRT"))
	{
		AssetId = $("hidAssetId").value;
		TRTValue = $("hidTRT").value;
	}
	if(AssetId != '' && TRTValue != '')
	{
		if(IsNonloginPreviewEnabled())
		{
				//9873 start  SR 9.10 10724
			    	if(parseInt(intIsStreamingAsset) == 2)  // streaming only asset
				    { 
			$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td width='100%' valign='top'><table cellpadding='0' cellspacing='0' border='0'><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>ID: </strong>"+AssetId+"</td></tr><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>TRT: </strong>"+TRTValue+"</td></tr></table></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>IMPORTANT: Note that this is only a preview. Download a streaming-quality version of this video directly to your computer.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='MediaDetailControl_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreviewEnabled.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
			else
			{
			$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td width='100%' valign='top'><table cellpadding='0' cellspacing='0' border='0'><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>ID: </strong>"+AssetId+"</td></tr><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>TRT: </strong>"+TRTValue+"</td></tr></table></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive a broadcast-standard or streaming quality version.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='MediaDetailControl_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreviewEnabled.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
		}
		else
		{
			//9873 start
			if(parseInt(intNonLoginPreviewLimit) == 0)
 			{
				$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td width='100%' valign='top'><table cellpadding='0' cellspacing='0' border='0'><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>ID: </strong>"+AssetId+"</td></tr><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>TRT: </strong>"+TRTValue+"</td></tr></table></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenBold'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='100%' height='5'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>If you are an approved user, please login to preview this asset. If you are new to this site and would like preview privileges, please <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register now</font></a> for free.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='AssetDetailEx_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreview.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
			else
			{
				$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td width='100%' valign='top'><table cellpadding='0' cellspacing='0' border='0'><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>ID: </strong>"+AssetId+"</td></tr><tr><td nowrap style='VERTICAL-ALIGN: top' class='labelGreen' ><strong>TRT: </strong>"+TRTValue+"</td></tr></table></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenBold'>LOGIN OR REGISTER</td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='100%' height='5'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>To continue previewing assets on The Newsmarket, please login or take a moment to <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register</font></a> with us for free.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='AssetDetailEx_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreview.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
			//9873 end
		}
	}
	else
	{
		if(IsNonloginPreviewEnabled())
		{
			//issue 10075
			// start  SR 9.10 10724
			    	if(parseInt(intIsStreamingAsset) == 2)  // streaming only asset
				    { 
			$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>IMPORTANT: Note that this is only a preview. Download a streaming-quality version of this video directly to your computer.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='AssetDetailEx_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreviewEnabled.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
			else
			{
			$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>IMPORTANT: Note that this is only a preview. Add the asset to your cart to receive a broadcast-standard or streaming quality version.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='AssetDetailEx_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreviewEnabled.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
		}
		else
		{
			//9873 start
			if(parseInt(intNonLoginPreviewLimit) == 0)
 			{
				$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenBold'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='100%' height='5'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>If you are an approved user, please login to preview this asset. If you are new to this site and would like preview privileges, please <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register now</font></a> for free.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='AssetDetailEx_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreview.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
			else
			{
				$('EmbedSpanAssetDetailVideo').innerHTML= "<table cellspacing='0' cellpadding='0' border='0'  width='345' height='305' class='whiteColor'><tr><td><img src='" + strjsImagePath + "stillDetails_top_left.gif' width='6' height='6'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_top_edge.gif);'><img src='" + strjsImagePath + "s.gif' height='4'></td><td><img src='" + strjsImagePath + "stillDetails_top_right.gif' width='7' height='6'></td></tr><tr><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_left_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='6' height='1'></td><td ><table cellspacing='0' cellpadding='0' border='0' align='center'><tr><td><table cellspacing='0' cellpadding='0' border='0' width='320' height='240' bgcolor='#000000'><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='100%' height='8'></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='8'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td><td valign='top' height='150'><table cellspacing='0' cellpadding='0' border='0' height='150'><tr><td width='200' height='150' align='center' class='greenTableBorder'><img src='" + strThumbPath + "' width='200' height='150'></td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='10' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='10' height='5'></td><td class='borderBottomGreen'><img src='" + strjsImagePath + "s.gif' width='100' height='5'></td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td><td valign='top'><table cellspacing='0' cellpadding='0' border='0' height='40'><tr><td><img src='" + strjsImagePath + "s.gif' height='6'></td></tr><tr><td class='labelGreenBold'>LOGIN OR REGISTER</td></tr><tr><td><img src='" + strjsImagePath + "s.gif' width='100%' height='5'></td></tr><tr><td class='labelGreenLinks' style='text-decoration:none;'>To continue previewing assets on The Newsmarket, please login or take a moment to <a href=https://" + txtServerName  + "/Registrations/PreRegistrationPage.aspx?regtype=R title='Click to register for free access'><font color='#EA0030'>register</font></a> with us for free.</td></tr></table></td><td><img src='" + strjsImagePath + "s.gif' width='5' height='1'></td></tr></table></td></tr><tr><td><table cellspacing='0' cellpadding='0' border='0' height='30'><tr><td><img src='" + strjsImagePath + "s.gif' height='5'></td></tr><tr><td colspan='2'><a style='cursor:pointer' onclick='AssetDetailEx_ShowLoginLayer();'><img src='" + strjsImagePath + "nonLoginPreview.gif'  border='0'></a></td></tr></table></td></tr></table></td><td height='100%' style='background-image: url(" + strjsImagePath + "stillDetails_right_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='7' height='1'></td></tr><tr><td><img src='" + strjsImagePath + "stillDetails_bottom_left.gif' width='6' height='7'></td><td width='100%' style='background-image: url(" + strjsImagePath + "stillDetails_bottom_edge.gif);'><img src='" + strjsImagePath + "s.gif' width='1' height='7'></td><td><img src='" + strjsImagePath + "stillDetails_bottom_right.gif' width='7' height='7'></td></tr></table>";		   
			}
			//9873 end
		}
	}
}

function $(__strId__)
{
	__doc__ = (typeof __doc__ == "object") ? __doc__ : document;
	__frm__ = (typeof __frm__ == "object") ? __frm__ : (typeof __doc__.forms[0] == "undefined") ? __frm__ : __doc__.forms[0].elements;

	if (arguments.length < 1)
		return __frm__;
	else
		return __doc__.getElementById(__strId__);
}
