// PLAYER WINDOW

var theHeight;
var theWidth;
var theTop;
var theLeft;
var features;

function winOpen1(url,name) {
		if (screen.width<=640){
		  	theWidth=600;
  		} else {
  		theWidth=.8*screen.width;
  		}
//	theHeight=.73*theWidth;
	theHeight=.8*theWidth + 40;
	theTop=(screen.height/2)-(theHeight/2);
	theLeft=(screen.width/2)-(theWidth/2);  	
	features='height='+theHeight+',width='+theWidth+',top='+theTop+',left='+theLeft+',resizable';
	window.open(url,name,features)
}

function winOpen2(url,name,w,h,f) {
	theTop=(screen.height/2)-(h/2);
	theLeft=(screen.width/2)-(w/2);  	
	features='height='+h+',width='+w+',top='+theTop+',left='+theLeft+','+f;
	window.open(url,name,features)
}	



// FLASH ANIMATION

function embedFlash()
{
	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" \n');
	document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" \n');
	document.write('id="webconference012004" width="100%" height="100%"><param name="movie" value="ectr_meniscus012004.swf" />\n');
	document.write('<param name="quality" value="high" /><param name="bgcolor" value="#99CCFF" />\n');
	document.write('<embed src="ectr_meniscus012004.swf" quality="high" bgcolor="#FFFFFF" width="100%" height="100%" \n');
	document.write('type="application/x-shockwave-flash" \n');
	document.write('pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash">\n');
	document.write('</embed>\n');
 	document.write('</object>\n');
}