function show_video_(myMoviePath)
{
	if(!myMoviePath) 
	var myMoviePath = 'selfserve200.download.videoegg.com/gid385/cid1348/HL/UE/1195535575LeXq0uG6zdrR7eJvJ4Sb';
	var vars = {
		file: myMoviePath,
		allowGrabcode: true,
		allowEmailShare: true,
		allowRecommendations: true,
		showAd: true,
		width: 380,
		autoPlay: false,
		watermark: "/images/watermark.png",
		watermarkLocation: "bottomleft",
		showAd: true,
		wmode: "transparent"
	};

	var VE_api = VE_getPlayerAPI("1.4");
	///VE_api.embedPlayer(vars);
	var html = VE_api.getPlayerHTML(vars);
	//document.getElementById('player').innerHTML = html;
	//document.write(html);
	//alert(html);
	return html;
}
function show_video(player)
{
	return unescape(player);
}
function getThumbnailPath(path)
{
	config.file = path;
	return VE_api.getThumbnailURL(config);
}

function get_slides()
{
	var url = host_url+'/default_controller/do/show_slides';//alert(url);
	xmlhttp_responce(url, 'show_slides', 'GET')
}
function show_slides(data)
{
	//alert(data);
	document.getElementById('player').innerHTML = data;
}

function historyChange(newLocation, historyData)
{
	debug("A history change has occurred: "
	+ "newLocation="+newLocation
	+ ", historyData="+historyData,
	true);
}
