var ns6=document.getElementById&&!document.all
var ie=document.all
var w;

function openWindow (img) {
  img = img.src ? img.src : img;
  if (w && !w.closed) w.close();
  w = open ('', 'imagePrint', 'menubar=no, locationbar=no, statusbar=no, resizable=no, scrollbars=no, width=396, height=396, left=50, top=100');
  var html = '';
  html += '<HTML><head><title>Student Dollar Stretcher</title></head><body leftmargin="0" topmargin="0">';
  html += '<IMG SRC="' + img + '">';
  html += '<\/BODY><\/HTML>';
  w.document.open();
  w.document.write(html);
  w.document.close();
}

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!="TR"&&source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) {
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if
(ie&&(source.id=="ignore")||source.tagName=="TD"||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}
