function InsertSampleMovie(URL, width, height, controller){
	
	
	//Checks if the controller constance is entered (correctly)
	if(controller != true && controller != false && controller != "true" && controller != "false"){
		controller = true; //Replace with default. Default = true.
	}
	
	
	
	//See if we can continue.	
	if(URL == null || width == null || height == null){
		//Nope, we can't.
		document.writeln("No URL, width or height entered");
	}else{
		//Add the code to the document.
		document.writeln('<param name="controller" value="' + controller + '" />');
		document.writeln('<embed src="' + URL + '" controller="' + controller + '" autoplay"  width="' +  width + '" height="' + height + '"></embed></object>');
	}
}
