

function cambiavideo(id,name){
	
	var fo = new SWFObject("/videogallery/FlowPlayerDark.swf", "", "400", "300", "7", "#ffffff", true);
// need this next line for local testing, it's optional if your swf is on the same domain as your html page
fo.addParam("allowScriptAccess", "always");
fo.addParam("allowFullScreen", "true");
fo.addVariable("config", "{ playList: [ {overlayId: 'play' }, { url: '/public/videogallery/video/"+id+"', } ], initialScale: 'scale', useNativeFullScreen: true, loop: false, }");
fo.write("flowplayerholder");
fo.write("flowplayerholder");
document.getElementById('namevid').innerHTML = name;

}
