var pname, ptype, dname;
var wndw, wndw2;
var plr=0;
function DispFlash()
{
	 	document.write('<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="570" height="270">');
		document.write('<param name=movie value="soundroom.swf">');
		document.write('<param name=quality value=high>');
		document.write('<param name=loop value=false>');
		document.write('<embed src="soundroom.swf" loop=false quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="570" height="270">');
		document.write('</embed>');
		document.write('</object>');
}
function DispFire()
{
	plr++;
	document.write('<OBJECT ID="Player"'+plr+' CLASSID="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" style="height: 90px; width: 570px;">');
	document.write('<PARAM name="URL" value="http://hwd/soundroomfrisco.com/web%20page/fire2.wmv">');
	document.write('<PARAM name="autoStart" value="True">');
	document.write('<PARAM name="playCount" value="10000">');
	document.write('<PARAM name="uiMode" value="none">');
	document.write('</OBJECT>');

//	document.write('<EMBED ID="MediaPlayer" TYPE="application/x-mplayer2" src="fire.wmv" STYLE="Position: Absolute; Left: 10; Top:10" height=90px width=90px></EMBED>');
}
function OpenPict(pname)
{
	if (wndw != null)
		wndw.close();
	wndw=window.open("pict.php?pict="+pname, "PREVIEW", "toolbar=no, location=no, status=no, menubar=no, scrollbars=no, resizeable=no, top=50, left=70");
	wndw.focus();
}
function OpenDef(dname)
{
	if (wndw2 != null)
		wndw2.close();
	wndw2=window.open(dname, "DEFPG", "toolbar=no, location=no, status=no, menubar=no, scrollbars=yes, resizeable=no, top=50, left=70, height=300, width=400");
	wndw2.focus();
}
function GetStyleObject(id)
{
	if (document.getElementById)
	{
		return document.getElementById(id).style;
	}
	else if (document.layers)
	{
		return document.layers[id];
	}
	else if (document.all)
	{
		return document.all[id].style;
	}
	else
	{
		alert("This Browser does not support DHTML. Please use Microsoft Internet Explorer 4.0 or later or Netscape 4.0 or later");
		return flase;
	}
}
function GetIdObject(id)
{
	if (document.getElementById)
		return document.getElementById(id);
	else if (document.layers)
		return document.layers[id];
	else if (document.all)
		return document.all[id];
	else
	{
		alert("This Browser does not support DHTML. Please use Microsoft Internet Explorer 4.0 or later or Netscape 4.0 or later");
		return flase;
	}
}
function ChangeSrc(id,srctag)
{
	var obj = GetIdObject(id);
	obj.src = srctag;
}
