function showDCR (src, w, h, bgcolor, stretchStyle, menu, logo, sw1) {
	if (w == null) w = "100%";
	if (h == null) h = "100%";
	if (bgcolor == null) bgcolor = "#FFFFFF";
	if (stretchStyle == null) stretchStyle = "stage";
	if (menu == null) menu = "false";
	if (logo == null) logo = "true";
	if (sw1 == null) sw1 = "";
	
	var html = '';
	
	html += '<!--[if IE]>';
	html += '<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" width="'+w+'" height="'+h+'">';
	html += '<param name="src" value="'+src+'" />';
	html += '<![endif]-->';

	html += '<!--[if !IE]>-->';
	html += '<object type="application/x-director" data="'+src+'"width="'+w+'" height="'+h+'">';
	html += '<!--<![endif]-->';
	
	html += '<param name="sw1" value="'+sw1+'" />';
	html += '<param name="swRemote" value="swSaveEnabled=\'false\' swVolume=\'true\' swRestart=\'false\' swPausePlay=\'false\' swFastForward=\'false\' swContextMenu=\''+menu+'\' "/>';
	html += '<param name="swStretchStyle" value="'+stretchStyle+'" />';
	html += '<param name="swStretchHAlign" value="Left" />';
	html += '<param name="swStretchVAlign" value="Top" />'; 
	html += '<param name="PlayerVersion" value=11 />'; 
	html += '<param name="logo" value="'+logo+'" />';
	html += '<param name="bgColor" value="'+bgcolor+'" />';
	html += '<p style="padding:60px; line-height:1.6em;">Shockwave not detected.<br/> If you still care download the <a href="http://get.adobe.com/shockwave/">shockwave player</a> at Adobe.</p>';
	html += '</object>';
	document.write(html);
}




