function flash(node, src)
{
  var hasProductInstall = DetectFlashVer(6, 0, 65);
  var hasRequestedVersion = DetectFlashVer(8, 0, 0);
  if ((hasProductInstall) && (!hasRequestedVersion))
  {
	  var MMPlayerType = (isIE == true) ? "ActiveX" : "PlugIn";
	  var MMredirectURL = window.location;
	  document.title = document.title.slice(0, 47) + " - Flash Player Installation";
	  var MMdoctitle = document.title;
    node.style.height = '430px';
	  node.innerHTML = AC_FL_RunContent(
	    "src", "/shared/flash.swf",
	    "FlashVars", "MMredirectURL=" + MMredirectURL + '&MMplayerType=' + MMPlayerType + '&MMdoctitle=' + MMdoctitle + "",
	    "width", "100%",
	    "height", "300",
	    "align", "middle",
	    "quality", "high",
	    "bgcolor", "#3a6ea5",
	    "allowScriptAccess","sameDomain",
	    "type", "application/x-shockwave-flash",
	    "pluginspage", "http://www.adobe.com/go/getflashplayer"
	  );
  }
  else if (hasRequestedVersion) flashdisplay(node, src);
  else node.innerHTML = 'This content requires the Adobe Flash Player. <a href="http://www.adobe.com/go/getflash/">Get Flash</a>';
}
function flashdisplay(node, src)
{
  node.innerHTML = AC_FL_RunContent(
    'src', 'flyer.swf',
    'flashVars', 'url=javascript:flashback(\'' + node.id + '\', \'{id}\');&amp;src=' + encodeURIComponent(src),
    'width', node.clientWidth,
    'height', node.clientHeight,
    'align', 'middle',
    'quality', 'high',
    'wmode', 'transparent',
    'bgcolor', '#ffffff',
    'allowScriptAccess','sameDomain',
    'type', 'application/x-shockwave-flash',
    'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
    'pluginspage', 'http://www.adobe.com/go/getflashplayer'
  );
}
function flashback(container, id)
{
  var link = document.getElementById(container + '_link');
  if (id == '') link.style.display = 'none';
  else
  {
    link.innerHTML = '<a href="?id=' + id + '" style="color: #00aa00 !important;">display this listing &gt;&gt;</a>';
    link.style.display = 'block';
  }
}