var sCopyTitle   = null;
    var oCurrToolTip = null;
    var oToolTipPos  = null;
    //
    function showTooltip(obj, blShow)
    {   if (blShow)
        {   sCopyTitle = obj.title;
            obj.title  = '';
            oCurrToolTip = document.createElement('span');
            oCurrToolTip.innerHTML  = sCopyTitle;
            oCurrToolTip.className  = 'tooltip';

            oToolTipPos = document.createElement('span');
            oToolTipPos.className  = 'tooltippos';
            oToolTipPos.appendChild(oCurrToolTip);
            
            obj.parentNode.insertBefore(oToolTipPos, obj);
        }
        else
        {   obj.title  = sCopyTitle;
            sCopytitle = '';
            if (oToolTipPos != null)
            {   obj.parentNode.removeChild(oToolTipPos);
                oToolTipPos = null;
            }
        }
    }

    function setSellList( oInObj)
    {
      //for module wlist
      var _wlist = document.getElementById("_wlist");
      if ( _wlist != null)
      {
        if ( '[{$urlsign}]' == '&')
          _wlist.href = _wlist.href + "&" + oInObj.name + "=" + oInObj.value;
        else
          _wlist.href = _wlist.href + "[{$urlsign}]" + oInObj.name + "[{$urlsign}]" + oInObj.value;
      }
      //for original selectlist
      var _wlist = document.getElementById("_slist");
      if ( _wlist != null)
      {
        if ( '[{$urlsign}]' == '&')
          _wlist.href = _wlist.href + "&" + oInObj.name + "=" + oInObj.value;
        else
          _wlist.href = _wlist.href + "[{$urlsign}]" + oInObj.name + "[{$urlsign}]" + oInObj.value;
      }
    }
  function changeImg(sImageSrc)
  {
    if( oObj = document.getElementById("pic") )
    {
      oObj.src=sImageSrc;
    }
    return false;
  }

  function pMoreDetails(oObj)
  {
    if (oObj != null && oObj.href.length > 0)
    {
      fenster_attribute = "status=yes,scrollbars=no,menubar=no,width=430,height=500";
      open(oObj.href, "send_link", fenster_attribute);
    }
  }
