
var wndo = [];
function dw_startScroll(num, dir, sp) {
  if ( wndo[num] && wndo[num].startScroll )
  {

    wndo[num].startScroll(dir, sp);
  }
}

function dw_stopScroll(num) {
  if ( wndo[num] && wndo[num].stopScroll ) wndo[num].stopScroll();
}

function dw_doubleSpeed(num) {
  if ( wndo[num] && wndo[num].speed ) wndo[num].speed *= 2;
}

function dw_resetSpeed(num) {
  if ( wndo[num] && wndo[num].speed ) wndo[num].speed /= 2;
}

function initScrollLayer() {
  wndo[0] = new dw_scrollLayer('wn', 'lyr1', 't1');
  GeckoTableBugFix('wn');
}
function imgPreview(url) {
  var el = top.document.getElementById("frmImg");
  el.src = url;
  return false;
};

function MM_showHideLayers() { //v6.0
  var i,p,v,obj,args=MM_showHideLayers.arguments;
  for (i=0; i<(args.length-2); i+=3) if ((obj=MM_findObj(args[i]))!=null) { v=args[i+2];
    if (obj.style) { obj=obj.style; v=(v=='show')?'visible':(v=='hide')?'hidden':v; }
    obj.visibility=v; }
}
