function flash_maker ( _ident, _object, _width, _height, _source, _left, _top, _visibility, _zindex ) {
_visibilityNS = "dunno"
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    document.write("<div  id=\"" + _ident + "\" style=\"left:" + _left + "px; position:absolute; top:" + _top + "px; visibility:" + _visibility + "; z-index:" + _zindex + "\" >");
  }
  else {
    if ( _visibility == 'visible' ) {
      _visibilityNS = "show";
    }
    else {
      _visibilityNS = "hide";
    }
    document.write("<layer id=\"" + _ident + "\" left=\"" + _left + "\" top=\"" + _top + "\" width=\"" + _width + "\" height=\"" + _height + "\" visibility=\"" + _visibilityNS + "\" z-index=\"" + _zindex + "\" > ");
  }

  document.write("<object id=\"" + _object + "\" classid=\"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000\" codebase=\"http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0\" ");
  document.write(" width=\"" + _width + "\" height=\"" + _height + "\">");
  document.write(" <param name=movie value=\"" + _source + "\">" );
  document.write(" <param name=quality value=high>");
  document.write(" <embed name=\"" + _object + "\" swLiveConnect=\"true\" src=\"" + _source + "\" quality=high pluginspage=\"http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash\" type=\"application/x-shockwave-flash\" ");
  document.write(" width=\"" + _width + "\" height=\"" + _height + "\"> ");
  document.write(" </embed>  ");
  document.write(" </object> ");

  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    document.write(" </div>");
  }
  else {
    document.write(" </layer>");
  }
  return;
}

function video_maker ( _ident, _object, _width, _height, _source, _left, _top, _visibility, _zindex ) {
_visibilityNS = "dunno"
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    document.write("<div  id=\"" + _ident + "\" style=\"left:" + _left + "px; position:absolute; top:" + _top + "px; visibility:" + _visibility + "; z-index:" + _zindex + "\" >");
  }
  else {
    if ( _visibility == 'visible' ) {
      _visibilityNS = "show";
    }
    else {
      _visibilityNS = "hide";
    }
    document.write("<layer id=\"" + _ident + "\" left=\"" + _left + "\" top=\"" + _top + "\" width=\"" + _width + "\" height=\"" + _height + "\" visibility=\"" + _visibilityNS + "\" z-index=\"" + _zindex + "\" > ");
  }

  document.write("<object ");
  document.write("id=\"" + _object + "\" ");
  document.write("classid=\"clsid:22D6F312-B0F6-11D0-94AB-0080C74C7E95\"      ");
  document.write("codebase=\"http://activex.microsoft.com/activex/controls/mplayer/en/nsmp2inf.cab#Version=5,1,52,701\" ");
  document.write("align=\"baseline\" border=\"0\" width=\"" + _width + "\" height=\"" + _height + "\" ");
  document.write("standby=\"Loading Microsoft Windows Media Player components...\" ");
  document.write("type=\"application/x-oleobject\"> ");
  document.write("<param name=\"AutoStart\" value=\"False\"> ");
  document.write("<param name=\"FileName\" value=\"" + _source + "\"> ");
  document.write("<param name=\"ShowControls\" value=\"False\"> ");
  document.write("<param name=\"ShowStatusBar\" value=\"False\"> ");
  document.write("<param name=\"ControlType\" value=\"0\"> ");
  document.write("<param name=\"TransparentatStart\" value=\"True\"> ");
  document.write("<param name=\"AnimationatStart\" value=\"False\"><embed ");
  document.write("src=\"" + _source + "\"  ");
  document.write("align=\"baseline\" border=\"0\"  ");
  document.write("width=\"" + _width + "\" height=\"" + _height + "\"  ");
  document.write("type=\"video/x-ms-asf-plugin\"  ");
  document.write("pluginspage=\"http://www.microsoft.com/windows/mediaplayer/download/default.asp\"  ");
  document.write("name=\"" + _object + "\"  ");
  document.write("autostart=\"0\"  ");
  document.write("showcontrols=\"0\"  ");
  document.write("showstatusbar=\"0\"  ");
  document.write("transparentatstart=\"0\"  ");
  document.write("controltype=\"0\"  ");
  document.write("animationatstart=\"0\"></embed></object> ");

  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    document.write(" </div>");
  }
  else {
    document.write(" </layer>");
  }
  return;
}

function image_maker ( _ident, _object, _width, _height, _source, _left, _top, _visibility, _zindex, _link ) {
_visibilityNS = "dunno"
  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    document.write("<div  id=\"" + _ident + "\" style=\"left:" + _left + "px; position:absolute; top:" + _top + "px; visibility:" + _visibility + "; z-index:" + _zindex + "\" >");
  }
  else {
    if ( _visibility == 'visible' ) {
      _visibilityNS = "show";
    }
    else {
      _visibilityNS = "hide";
    }
    document.write("<layer id=\"" + _ident + "\" left=\"" + _left + "\" top=\"" + _top + "\" width=\"" + _width + "\" height=\"" + _height + "\" visibility=\"" + _visibilityNS + "\" z-index=\"" + _zindex + "\" > ");
  }

  if ( _link != "" ) {
    document.write("<a href=\"" + _link + "\"> ");
  }

    document.write("<img ");
    document.write("id=\"" + _object + "\" ");
    document.write("border=\"0\" width=\"" + _width + "\" height=\"" + _height + "\" ");
    document.write("src=\"" + _source + "\"  ");
    document.write(" > ");

  if ( _link != "" ) {
    document.write("</a> ");
  }


  if (navigator.appName.indexOf ("Microsoft") !=-1) {
    document.write(" </div>");
  }
  else {
    document.write(" </layer>");
  }
  return;
}
