<!--//
function rollImageOff() {
  var i,x,a=document.sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}

function locateObj(n, d) {
  var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
  if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
  for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=locateObj(n,d.layers[i].document); return x;
}

function rollImage() {
  var i,j=0,x,a=rollImage.arguments; document.sr=new Array; for(i=0;i<(a.length-2);i+=3)
   if ((x=locateObj(a[i]))!=null){document.sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}

function popWindow(file, width, height) {
window.open(file, null, "height=" + height + ",width=" + width + ",toolbar=no,location=no,directories=no,status=no,menubar=no,resizable=no,scrollbars=auto")
    return false;    
    }

function popWindowTool(file, width, height) {
window.open(file, null, "height=" + height + ",width=" + width + ",toolbar=yes,location=yes,directories=no,status=yes,menubar=yes,resizable=yes,scrollbars=yes")
    return false;    
    }
//-->