function displayflash_url(source, width, height, url)
{
	document.write('    <div>' + "\n");
    	document.write('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0" width="'+width+'" height="'+height+'"  align="middle">' + "\n");
    	document.write('    <param name="allowScriptAccess" value="sameDomain">' + "\n");
	document.write('    <param name="movie" value="'+source+'">' + "\n");
	document.write('    <param name="menu" value="false">' + "\n");
	document.write('    <param name="quality" value="high">' + "\n");
    	document.write('    <param name="scale" value="noscale">' + "\n");
    	document.write('    <param name="bgcolor" value="">' + "\n");
    	document.write('    <embed src="'+source+'" menu="false" quality="high" scale="noscale" bgcolor="" width="'+width+'" height="'+height+'"  align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>' + "\n");
    	document.write('</object>' + "\n");
    	document.write('</div>' + "\n");
}

/* ShowContent - HideContent */
function HideContent(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "none";
}

function ShowContent(d) {
	if(d.length < 1) { return; }
	document.getElementById(d).style.display = "block";
}

function ReverseContentDisplay(d) {
	if(d.length < 1) { return; }
	if(document.getElementById(d).style.display == "none") { document.getElementById(d).style.display = "block"; }
	else { document.getElementById(d).style.display = "none"; }
}

function setMiddlePicture(container_id,img_path)
{
	document.getElementById(container_id).src = img_path;
}

