function showDCR (src, w, h, bgcolor,stretchStyle, menu, logo, sw1) {
	//framecheck
	/*
	ok_urls = new Array();
	ok_urls[1] = "http://www.ertdfgcvb.ch";
	ok_urls[2] = "http://ertdfgcvb.ch";

	function reportError(msg, url, line) {
		if (url == window.location.href) {
			msg = "please visit www.ertdfgcvb.ch"
			alert(msg);
			top.location.href = ok_urls[1];
			return true;
	   }
	}

	window.onerror = reportError;
	url_found = 0;
	
	for (var i = 1; i <= ok_urls.length && !url_found; i++) {
		url_found = (parent.location.href.indexOf(ok_urls[i]) == -1);
	}
	if (!url_found || (window == top)) top.location.href = ok_urls[1];
	if (parent.frames.length > 2)parent.location.href = ok_urls[1];
	*/
	
	//output	
	var html = '';
	html += '<object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/director/sw.cab#version=11,0,0,0" ';
	html += 'id="'+src+'" width="'+w+'" height="'+h+'">';
	html += '<param name="src" value="'+src+'" />';
	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 += '<embed src="'+src+'"';
	html += ' sw1="'+sw1+'"';
	html += ' logo="'+logo+'"';
	html += ' bgColor="'+bgcolor+'"';
	html += ' swStretchHAlign="Left"';
	html += ' swStretchVAlign="Top"';
	html += ' PlayerVersion="11"';
	html += ' swSaveEnabled="false"';
	html += ' width="' +w+ '"';
	html += ' height="'+h+ '"';
	html += ' swStretchStyle="' +stretchStyle+ '"'; 
	html += ' swRemote="swSaveEnabled=\'false\' swVolume=\'true\' swRestart=\'false\' swPausePlay=\'false\' swFastForward=\'false\' swContextMenu=\''+menu+'\'" '; 
	html += ' type="application/x-director" pluginspage="http://www.macromedia.com/shockwave/download/" >';
	html += ' </embed>';
	html += '</object>';

	document.write(html);
}




