function insertVideoThumb(videoPath,videoWidth,videoHeight,videoThumb,videoLink,linkOutText){
	var videoPlayIcon = "/ltr/video_player/play_icon.png";
	if(fixIE6) videoPlayIcon = "/ltr/video_player/play_icon.gif";
	if(videoPath.indexOf('.flv') > 0 || videoPath.indexOf('.mov') > 0){
		if(videoThumb == ""){
			document.write('<div class="videoThumbUploaded"><a href="javascript:void(0)" onclick="openVideoOverlay(\'' + videoPath + '\',\'' + videoWidth + '\',\'' + videoHeight + '\',\'FLV\',\'' + videoLink + '\',\'' + linkOutText + '\')"><img class="playIcon" src="' + videoPlayIcon + '" width="128" height="128" alt=""/></a></div>');
		}
		else{
			document.write('<div class="videoThumbUploaded"><img class="youTubeThumb" src="' + videoThumb + '" width="450" height="253" alt="" title="" /><a href="javascript:void(0)" onclick="openVideoOverlay(\'' + videoPath + '\',\'' + videoWidth + '\',\'' + videoHeight + '\',\'FLV\',\'' + videoLink + '\',\'' + linkOutText + '\')"><img class="playIcon" src="' + videoPlayIcon + '" width="128" height="128" alt=""/></a></div>');
		}
	}
	else if(videoPath.indexOf('youtube.com/watch?v=') > 0){
		if(videoThumb == ""){
			youTubeThumbPath = $.jYoutube(videoPath);
			document.write('<div class="youTubeCrop"><img class="youTubeThumb" src="' + youTubeThumbPath + '" width="450" height="337" alt="" title="" /><a href="javascript:void(0)" onclick="openVideoOverlay(\'' + videoPath + '\',\'' + videoWidth + '\',\'' + videoHeight + '\',\'YouTube\')"><img class="playIcon" src="' + videoPlayIcon + '" width="128" height="128" alt=""/></a></div>');
		}
		else{
			document.write('<div class="videoThumbUploaded"><img class="youTubeThumb" src="' + videoThumb + '" width="450" height="253" alt="" title="" /><a href="javascript:void(0)" onclick="openVideoOverlay(\'' + videoPath + '\',\'' + videoWidth + '\',\'' + videoHeight + '\',\'YouTube\')"><img class="playIcon" src="' + videoPlayIcon + '" width="128" height="128" alt=""/></a></div>');
		}
	}
}
