function dropButtonClick(e) 
{
	if( typeof( e ) == "undefined" && typeof( window.event ) != "undefined" ) e = window.event;

	if (typeof( window.event ) != "undefined" ) 
	{
		// IE
		e.cancelBubble=true;
	}
	else 
	{ 
		// Firefox
		e.stopPropagation(); 
	}
}
function loadflv(xmlurl)
{
	var swfWidth=400;
	var swfHeight=350;
	
	// Specify the static document width and height for winWidth and winHeight if you want the greyout to cover resize
	
	var winWidth=document.documentElement.clientWidth;
	var winHeight=document.documentElement.clientHeight;
	
	var elem = document.getElementById('greyout');
	elem.className='flvin';
	elem.style.width=winWidth+'px';
	elem.style.height=winHeight+'px';
	
	var swfX=(winWidth-swfWidth)*0.5;
	var swfY=(winHeight-swfHeight)*0.5;
	
	var elem2 = document.getElementById('flvdiv');
	//elem2.className='flvdiv';
	elem2.style.left=swfX+'px';
	elem2.style.top=swfY+'px';
	
	var so = new SWFObject("dynamic_loader.swf", "flvPlayer", "400", "400", "8", "#FFFFFF");
	so.addParam("wmode", "transparent");
	so.addVariable('xmlFeed', xmlurl);
	so.addVariable('autoPlayFLV', 'true');
	so.write("flvdiv");
}

function clearflv()
{
	document.getElementById('greyout').className = 'flvout';
	document.getElementById('flvdiv').innerHTML='';
}


