function na_change_img_src(name, nsdoc, rpath, preload)

{ 

  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);

  if (name == '')

    return;

  if (img) {

    img.altsrc = img.src;

    img.src    = rpath;

  } 

}



function na_restore_img_src(name, nsdoc)

{

  var img = eval((navigator.appName.indexOf('Netscape', 0) != -1) ? nsdoc+'.'+name : 'document.all.'+name);

  if (name == '')

    return;

  if (img && img.altsrc) {

    img.src    = img.altsrc;

    img.altsrc = null;

  } 

}

function na_no_right_click(message)

{

  var message; 

  function click(e) {

    if (document.all) {

      if (event.button == 2) {

        alert(message);

      return false;

      }

    }

    if (document.layers) {

      if (e.which == 3) {

        alert(message);

        return false;

      }

    }

  }

  if (document.layers) {

    document.captureEvents(Event.MOUSEDOWN);

  }

  document.onmousedown= click;

}



function na_open_window(name, url, left, top, width, height, toolbar, menubar, statusbar, scrollbar, resizable)

{

  toolbar_str = toolbar ? 'yes' : 'no';

  menubar_str = menubar ? 'yes' : 'no';

  statusbar_str = statusbar ? 'yes' : 'no';

  scrollbar_str = scrollbar ? 'yes' : 'no';

  resizable_str = resizable ? 'yes' : 'no';

  window.open(url, name, 'left='+left+',top='+top+',width='+width+',height='+height+',toolbar='+toolbar_str+',menubar='+menubar_str+',status='+statusbar_str+',scrollbars='+scrollbar_str+',resizable='+resizable_str);

}

function na_must_visit(visit_site, must_visit_site)

{

  window.open(must_visit_site);

  window.location = visit_site;

}

function na_full_win(url) 

{

  window.open (url,"", "fullscreen, scrollbars")

}

function MM_jumpMenuGo(objId,targ,restore){ //v9.0
  var selObj = null;  with (document) { 
  if (getElementById) selObj = getElementById(objId);
  if (selObj) eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0; }
}

function MM_jumpMenu(targ,selObj,restore){ //v3.0
  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");
  if (restore) selObj.selectedIndex=0;
}
