function ShowVideo(vid) {
	//funkce je rozdilna od prod_documentation.htm a download.htm
	// Firefox funguje stejne jako IE - ovsem v externim scriptu musi byt u Firefoxu getElementById a poloha v pixelech musi byt 40px a ne 40
	// funkce je pouzita pro Orbit description a pro frame saw tech	

	HideVideo(); 
	
	var stream_vid = "<table cellpadding='0' cellspacing='0' width='241' height='25'><!-- MSTableType='layout' --><tr><td height='25' width='241'><div align='left'>	<table border='1' width='100%' id='table1' align='left' bgcolor='#000000' cellspacing='0' cellpadding='0' bordercolorlight='#000000' bordercolordark='#000000'>";
	stream_vid = stream_vid + "<tr><td bordercolor='#000000' bordercolorlight='#000000' bordercolordark='#000000'><b><font color='#FFFFFF'><div id='PlayerCaption' style='font-size: 10pt'>Now Playing...</div></font></b></td><td style='cursor: pointer;font-size: 10pt' onclick='HideVideo();' width='20' align='center' bordercolorlight='#999999' bordercolordark='#333333'><font color='#FFFFFF' >X</font></td>";
	stream_vid = stream_vid + "</tr></table></div></td></tr></table><table cellpadding='0' cellspacing='0' width='100%' height='180' ><!-- MSTableType='layout' --><tr><td height='180' width='100%' align='left' valign='top'>";
	//sfw player object

	stream_vid = stream_vid + "<object id='StreamPlayer' type='application/x-shockwave-flash' data='stream/player_flv_classic.swf' width='240' height='180'>";
	stream_vid = stream_vid + "<noscript>Enable scripts to play this stream video.</noscript>";
	stream_vid = stream_vid + "<param name='movie' value='stream/player_flv_classic.swf' />";
	stream_vid = stream_vid + "<param name='FlashVars' value='configxml=stream/" + vid.id + ".xml' />";
	stream_vid = stream_vid + "</object>";

	//stream_vid = stream_vid + "<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='240' height='180' id='player' align='middle'>";
	//stream_vid = stream_vid + "<param name='movie' value='stream/player.swf?file=" + vid.id + ".flv&size=false&aplay=true&autorew=false&title=' />";
	//stream_vid = stream_vid + "<param name='menu' value='false' />";
	//stream_vid = stream_vid + "<param name='quality' value='high' />";
	//stream_vid = stream_vid + "<param name='bgcolor' value='#333333' />";
	//stream_vid = stream_vid + "<embed src='stream/player.swf?file=" + vid.id + ".flv&size=false&aplay=true&autorew=false&title=' menu='false' quality='high' bgcolor='#333333' width='240' height='180' name='player' align='middle' allowScriptAccess='sameDomain' type='application/x-shockwave-flash' pluginspage='http://www.macromedia.com/go/getflashplayer' /></object>";

	//swf player object
	stream_vid = stream_vid + "</td></tr></table>";
	
	document.getElementById("layerVIDEO").innerHTML = stream_vid;


	document.getElementById("layerVIDEO").style.left = 40 + vid.offsetLeft + vid.offsetWidth / 2 - document.getElementById("layerVIDEO").offsetWidth / 2 + "px" ;
	document.getElementById("layerVIDEO").style.top  = 5 + vid.offsetTop  + vid.offsetHeight / 2  - document.getElementById("layerVIDEO").clientHeight / 2 + "px" ;
	
	document.getElementById("PlayerCaption").innerHTML = "&nbsp;" + "SYSTEM ORBIT";


}

function HideVideo() {
	document.getElementById("layerVIDEO").innerHTML = "";
	document.getElementById("layerVIDEO").style.left = "-500px";
}
