// object.js 

function writeObject () {
	document.write('<object ');
	if (navigator.mimeTypes && navigator.mimeTypes["application/x-shockwave-flash"]){
		// Netscape or similar
		document.write('type="application/x-shockwave-flash" data="grfx/home.swf" ');
	}
	else {
		// MSIE or similar
		document.write(
      'classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" ' +
      'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" '
		);
	}
	// Common code
	document.write(
		'width="180" height="120">' +
		'  <param name="movie" value="grfx/home.swf" />' +
		'  <param name="quality" value="high" />' +
		'  <param name="bgcolor" value="#000000" />' +
		'</object>'
	);
	document.close();
}

/******************************************************************/
// Code for Netscape / Mozilla replaces invalid Macromedia-generated 
// <embed> tag (minus pluginspace):
// Know a valid workaround for pluginspace? email: cliff@shadaux.com
/*
   <embed src="grfx/home.swf" 
		 type="application/x-shockwave-flash"
		 width="180" height="120" 
		 pluginspage="http://www.macromedia.com/go/getflashplayer" />
*/

