/*
function flashWrite(s,w,h,d,bg,t,f,l){

  var code = "";
  code  = "<object type=\"application/x-shockwave-flash\" ";
  code +=         "classid=\"clsid:d27cdb6e-ae6d-11cf-96b8-444553540000\" ";
  code +=         "codebase=\"http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0\" ";
  code +=         "width=\""+w+"\" height=\""+h+"\" id=\""+d+"\">";
  code += "<param name=\"movie\" value=\""+s+"\" />";
  code += "<param name=\"quality\" value=\"high\" />";
  code += "<param name=\"wmode\" value=\""+t+"\" />";
  code += "<param name=\"menu\" value=\"false\" />";
  code += "<param name=\"allowScriptAccess\" value=\"always\" />";
  code += "<param name=\"swliveconnect\" value=\"true\" />";
  code += "<param name='scale' value='"+f+"' />";
  code += "<param name='salign' value='"+l+"' />";
  code += "<embed src=\""+s+"\" quality=\"high\" "
  code +=        "wmode=\""+t+"\" "
  code +=        "menu=\"false\" width=\""+w+"\" height=\""+h+"\" "
  code +=        "type=\"application/x-shockwave-flash\" "
  code +=        "pluginspage=\"http://www.macromedia.com/go/getflashplayer\"> "
  code += "</embed>"
  code += "</object>"

  document.write (code);
}
*/

function getflash(objSrc, width, height, wmode) {
	var obj = '';
	obj += '<object type="application/x-shockwave-flash" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="'+width+'" height="'+height+'">';
	obj += '<param name="movie" value="'+objSrc+'">';
	obj += '<param name="quality" value="high">';
	obj += '<param name="bgcolor" value="#000000">';
	obj += '<param name="wmode" value="'+wmode+'">';
	obj += '<param name="menu" value="false">';
	obj += '<param name="Command" value="Close">';
	obj += '<param name="swliveconnect" value="true">';
	obj += '<embed src="'+objSrc+'" quality=high bgcolor="#000000" width="'+width+'" height="'+height+'" swliveconnect="true" id="param" name="param" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"><\/embed>';
	obj += '<\/object>';
	document.write(obj);
}

function openMenu()
{
document.getElementById('menu').style.height='300px';
document.getElementById('menu').style.overflow='auto';
} function closeMenu()
{
document.getElementById('menu').style.height='50px';
document.getElementById('menu').style.overflow='hidden';
}

/*
function quick_open() {
	//alert("open");
	document.quick_menu.height = 249;
}
function quick_close() {
	//alert("close");
	document.quick_menu.height = 18;
}
*/