// JavaScript Document

function replaceContent(videoID) {
	//var id = videoID;
	var so = new SWFObject("http://www.innovativepainsolution.com/flash/player/flvPlayer.swf?cachebuster=" + new Date().getTime(), "gallery", "500", "365", "8", "#000000", "100");

	so.addVariable("videoPath", "http://www.innovativepainsolution.com/" + videoID + ".flv");
	so.addVariable("imagePath", "http://www.innovativepainsolution.com/images/" + videoID + "-0000.png");
	so.addVariable("autoStart", "true");
	so.addVariable("volAudio", "60");	
	
	//OPTION 2 (I am using this one right now and passing with 'n=' in the URL for testing
	//so.addVariable("channelName", getQueryParamValue("n"));
	so.write("holder");


	//document.getElementById("trace").innerHTML = videoID;
}
