function drawActiveContent( activeObj ) {

	if ( activeObj == "" ) return; /* don't draw anything if nothing passed */
	w = activeObj.lastIndexOf(".");
	objType = activeObj.substring( w+1, activeObj.length )
	//window.alert( activeObj+"\n"+objType );
	switch ( objType ) {
	case "MP3":
	case "mp3":
		width="330";
		height="36";
		break;
	case "mov":
		width="330";
		height="266";
		break;
	default:
		return; /* so we don't execute the document.writes... */
		break;
	}
	document.write( "\t<EMBED ALT=\"quicktime mov\" CLASS=\"mov\" CODEBASE=\"QuickTimePlayer.exe\"\n" );
	document.write( "\t\tHEIGHT=\""+height+"\" WIDTH=\""+width+"\" ID=\"mov\" NAME=\"mov\" KIOSKMODE=\"TRUE\"\n" );
	document.write( "\t\tSRC=\""+activeObj+"\"\n" );
	document.write( "\t\tTITLE=\"quicktime "+objType+"\"\n" );
	document.write( "\t\tPLUGINSPAGE=\"http://www.apple.com/quicktime/download/\">\n" );
	document.write( "\t</EMBED>\n" );

	//document.write ( "\t<object classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" " );
	//document.write ( "codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0\" " );
	//document.write ( "width=\""+width+"\" height=\""+height+"\">\n" ); 
	//document.write ( "\t<param name=\"movie\" value=\"flash/"+activeObj+".swf\">\n" );
	//document.write ( "\t<param name=\"quality\" value=\"high\">\n" );
	//document.write ( "\t\t<embed src=\"flash/"+activeObj+".swf\" quality=\"high\" " );
	//document.write ( "pluginspage=\"http://www.macromedia.com/go/getflashplayer\" " );
	//document.write ( "type=\"application/x-shockwave-flash\" width=\""+width+"\" height=\""+height+"\">\n" );
	//document.write ( "\t\t</embed>\n\t</object>\n" );
} /* end drawActiveContent() */
