
/*
writeObject will write content. 
strContentLabel: a content label that should be recognized.

true is returned if content is found and written.  Else an error message is written and false is returned.
*/
function writeObject(strContentLabel) {
	switch(strContentLabel) {
		case "homeFlash": 			
			document.write("<object classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" width=\"320\" height=\"231\" id=\"slideshow\" align=\"middle\">\n");
			document.write("<param name=\"allowScriptAccess\" value=\"sameDomain\" />\n");
			document.write("<param name=\"movie\" value=\"slideshow.swf\" />\n");
			document.write("<param name=\"quality\" value=\"high\" />\n");
			document.write("<param name=\"bgcolor\" value=\"#ffffff\" />\n");
			document.write("<param name=\"wmode\" value=\"transparent\" />\n");
			document.write("<embed src=\"slideshow.swf\" wmode=\"transparent\" quality=\"high\" bgcolor=\"#ffffff\" width=\"320\" height=\"231\" name=\"slideshow\" align=\"middle\" allowScriptAccess=\"sameDomain\" type=\"application/x-shockwave-flash\" pluginspage=\"http://www.macromedia.com/go/getflashplayer\" />\n");
			document.write("</object>\n");						
		   break;
		// ******************************
				
				
		default:    // if inValid expectedType
			document.write('Unknown content requested.');
			return false;
		// ******************************
	}  // switch- strContentLabel
		
	return true
} // writeObject


	