
function showVideo(pParent)
{
	var video;
	var p1;
	var p2;
	var p3;
	var p4;
	var p5;
	var p6;
	var p7;
	var p7;
	var emb;
	
	video = document.createElement("OBJECT");
	video.setAttribute("id", "flashObj");
	video.setAttribute("width", "486");
	video.setAttribute("height", "412");
	video.setAttribute("classid", "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000");
	video.setAttribute("codebase", "http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,47,0");

	p1 = document.createElement("PARAM");
	p1.setAttribute("name", "movie");
	p1.setAttribute("value", "http://c.brightcove.com/services/viewer/federated_f9/25685786001?isVid=1&publisherID=687883056");
	
	p2 = document.createElement("PARAM");
	p2.setAttribute("name", "bgcolor");
	p2.setAttribute("value", "#FFFFFF");
		
	p3 = document.createElement("PARAM");
	p3.setAttribute("name", "flashVars");
	p3.setAttribute("value", "videoId=40714953001&playerID=25685786001&domain=embed&");
		
	p4 = document.createElement("PARAM");
	p4.setAttribute("name", "base");
	p4.setAttribute("value", "http://admin.brightcove.com");
		
	p5 = document.createElement("PARAM");
	p5.setAttribute("name", "seamlesstabbing");
	p5.setAttribute("value", "false");
		
	p6 = document.createElement("PARAM");
	p6.setAttribute("name", "allowFullScreen");
	p6.setAttribute("value", "true")	
	
	p7 = document.createElement("PARAM");
	p7.setAttribute("name", "swLiveConnect");
	p7.setAttribute("value", "true")	
	
	p8 = document.createElement("PARAM");
	p8.setAttribute("name", "allowScriptAccess");
	p8.setAttribute("value", "always")
	
	emb = document.createElement("embed");
	emb.setAttribute("src", "http://c.brightcove.com/services/viewer/federated_f9/25685786001?isVid=1&publisherID=687883056");
	emb.setAttribute("bgcolor", "#FFFFFF");
	emb.setAttribute("flashVars", "videoId=40714953001&playerID=25685786001&domain=embed&");
	emb.setAttribute("base", "http://admin.brightcove.com"); 
	emb.setAttribute("name", "flashObj"); 
	emb.setAttribute("width", "486"); 
	emb.setAttribute("height", "412"); 
	emb.setAttribute("seamlesstabbing", "false"); 
	emb.setAttribute("type", "application/x-shockwave-flash"); 
	emb.setAttribute("allowFullScreen", "true"); 
	emb.setAttribute("swLiveConnect", "true"); 
	emb.setAttribute("allowScriptAccess", "always"); 
	emb.setAttribute("pluginspage", "http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash");

	video.appendChild(p1);
	video.appendChild(p2);
	video.appendChild(p3);
	video.appendChild(p4);
	video.appendChild(p5);
	video.appendChild(p6);
	video.appendChild(p7);
	video.appendChild(p8);
	video.appendChild(emb);
	
	  
	while (pParent.hasChildNodes())
	{
	  pParent.removeChild(pParent.firstChild);
	}	
	pParent.appendChild(video);
}
