function showVideo(video, id){
	//flashembed("streamdiv", 
	flashembed(id, 
		{ src: 'player/FlowPlayerLight.swf',
			version: [9,0,124,0],
			width: 254,
			height: 217,
			bgcolor:'#ffffff'
		},
		{ config: {
			autoPlay: true,
			//videoFile: '../stream/Spedizione080910.flv',
			videoFile: '../stream/'+video,
			initialScale: 'scale',
			useNativeFullScreen: false,
			usePlayOverlay: true,
			autorewind: false,
			loop: false,
			useNativeFullScreen: true
			}
		}
	);
}

function onClipDone(clip){
	document.getElementById('paratiTg3').innerHTML = "<br>"+
		"<a href=\"#\" onclick=\"showVideo('ParatiTG3.flv', 'paratiTg3')\">"+
		"<img src=\"images/rai tgr.png\" align=\"right\" border=\"0\" />";
	
	document.getElementById('spedizione080910').innerHTML = "<a href=\"#spedizione080910\" onclick=\"showVideo('Spedizione080910.flv', 'spedizione080910')\">Guarda il video</a>";

	document.getElementById('streamdiv').innerHTML =  "<table width=\"210\" cellspacing=\"0\" cellpadding=\"0\" style=\"margin-left:0px; margin-right:auto\">"+
			"<tr>"+
				"<td height=\"27\" style=\"background-image: url(images/box_top.png);\" colspan=\"3\">"+
					"<p style=\"margin-left: 10px; text-align: center; color: red;\">"+
						"<img src=\"images/croce_bianca_small.jpg\">"+
					"</p>"+
				"</td>"+
			"</tr>"+
			"<tr style=\"height: 100px;\">"+
				"<td width=\"2\" style=\"background-image: url(images/box_left.png);\"/>"+
					"<td width=\"206\" style=\"background-image: url(images/box_center.png);\">"+
						"<p style=\"text-align:center\">" +
							"Highcare <a style=\"font-size: 10px; margin-left: 5px;color:red;font-weight:none;text-decoration:underline\" name=\"#video\" href=\"#video\" onclick=\"showVideo('Spedizione080910.flv')\">1</a><br><br>" +
						"</p>"+
					"</td>"+
					"<td width=\"2\" style=\"background-image: url(images/box_left.png);\"/>"+
				"</tr>"+
				"<tr>"+
					"<td height=\"4\" style=\"background-image: url(images/box_bottom.png);\" colspan=\"3\"/>"+
				"</tr>"+
			"</table>";
};
