

	function openQTwin(url,width,height) {



		var leftVal=(screen.width / 2) - width;

		var topVal = (screen.height / 2) - height;

	    

		qtwin = window.open("",null,"toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,resizable=0,left="+leftVal+",top="+topVal+",width="+(width+40)+",height="+(height+55)+"");



		qtwin.document.write('<html><head><title>QT player</title></head><body><link rel="stylesheet" type="text/css" href="../../../../stylesheets/theys.css"><div align="center">');

		qtwin.document.write('<br><object classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"' +

					'codebase="http://www.apple.com/qtactivex/qtplugin.cab" width="' + width +'"' +

					'height="' + (height+15) + '" id="movie2">');

		qtwin.document.write('<param name="src" value="'+ url +'">');

		qtwin.document.write('<param name="Autoplay" value="true">');

		//qtwin.document.write('<param name="CONTROLLER" value="false">'); // remove height+15 if set

		//qtwin.document.write('<param name="scale" value="2">');

		qtwin.document.write('<embed width="' + width +'" height="' + (height+15) +'" src="'+ url +'" name="htmovie"' +

					'enablejavascript="true" autostart="true"> </object>');

		qtwin.document.write();

		qtwin.document.close();		

		qtwin.focus();

	}


