function imgChangeOn(name) {
    img = eval('document.images.'+name);
    imgsrc = img.src.replace('_a.gif','.gif');
    img.src = imgsrc.replace('.gif','_a.gif');
}
function imgChangeOff(name) {
    img = eval('document.images.'+name);
    img.src = img.src.replace('_a.gif','.gif');
}

function spacer(flag){
  if (document.layers || flag=="all") {
    document.write ('<font size=1>');
    for (n=0;n<30;n++) {
    document.write ('&nbsp;&nbsp; ');
    }
    document.write ('</font>');
  }
}
function mailto(str) {
    var mailto='';
    for (n=0;s=str.substring(n*2,2*n+2);n++) {
        mailto+= unescape('%'+s) ;
    }
    location.href = "mailto:" + mailto;
}

/* DO HREF */

function doHref(src, target)
{
    if (target == '_self') {
        location.href = src;
    } else if (target == '_blank') {
        objWindow = window.open(src);
        objWindow.focus();
    } else {
        //alert('no target for function doHref JS');
    }
}
