// FLASH MOVIE
function FlashMovie(url, width, height) {
    document.write('<object width="'+width+'" height="'+height+'" align="middle" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">');
    document.write('<param value="sameDomain" name="allowScriptAccess" />');
    document.write('<param value="../'+url+'" name="movie" />');
    document.write('<param value="high" name="quality" />');
    document.write('<param value="noscale" name="scale" />');
    document.write('<param value="transparent" name="wmode" />');
    document.write('<param value="lt" name="salign" />');
    document.write('<param value="#ffffff" name="bgcolor" /><embed width="'+width+'" height="'+height+'" align="middle" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" allowscriptaccess="sameDomain" wmode="transparent" bgcolor="#ffffff" salign="lt" scale="noscale" quality="high" src="../'+url+'">');
    document.write('</embed>');
    document.write('</object>');
}

// HIDE SHOW DIV
function showDetails(eid)
{

	var p = document.getElementById("detail"+eid);
	
	if (p.style.display == "" || p.style.display == "none")
	{
		p.style.display = "block";
	}
	else
	{
		p.style.display = "none";
	}
	
	for (var i = 0; i < 3; i++)
	{
		if (i == eid)
		{
			continue;	
		}
		try
		{
			if (document.getElementById("detail" + i).style.display == "block")
			{
				document.getElementById("detail" + i).style.display = "none";
			}
		}
		catch (err)
		{
			
		}
	}
}