function showflash(flashurl)
{
 var flashvars = {};
 var params = {  menu: "false",  play: "false"};
 var attributes = {};

 //swfobject.embedSWF(flashurl,"infobox", "640", "480", "8.0.0","/expressInstall.swf", flashvars ,  params , attributes ); 
 swfobject.embedSWF(flashurl,"infobox", "640", "480", "8.0.0");
 showflashblock();
}

function replayflash(fid)
{
	fobj=document.getElementById(fid);
 	fobj.Rewind();
	fobj.play();
}

function playflash(fid)
{
 fobj=document.getElementById(fid);
 fobj.play();
}
function stopflash(fid)
{
 fobj=document.getElementById(fid);
 fobj.stop();
}

function showflashblock()
{
// HideBlock("icontent");
// ShowBlock("mcontent");
}

function showimg(imgurl)
{
 HideBlock("mcontent");
 bl=document.getElementById("icontent");
 bl.innerHTML='<img src="'+imgurl+'"><br>&nbsp;';
 ShowBlock("icontent");
}

function showq(qnum)
{
 HideBlock("q1");
 HideBlock("q2");
 HideBlock("q3");
 ShowBlock("q"+qnum);
 initfirst();
}

function SwitchBlock(bname)
{
	if (document.getElementById(bname).style.display=="block")
	{
		HideBlock(bname);
	}else
	{
		ShowBlock(bname);
	}
}

function ShowBlock(bname)
{
	document.getElementById(bname).style.display="block";
}

function HideBlock(bname)
{
	document.getElementById(bname).style.display="none";
}

