<!--
var qpv = '[Open Preview Window]';
var cpv = '[Close Preview Window]';
var psize = '350';

function pv(url, id) {
  if(document.all || document.getElementById) {
    document.write('<a title="Keep Preview Windows Open to Compare with others" class="small" id="link'+id+'" href="'+url+'" onClick="pview(this);return false">'+qpv+'</a>');
  }
}

function pview(link) {
// Testing for IE 4, since IE4 does not recognize document.getElementById
  var ie4 = (document.all && !document.getElementById) ? true : false;
// If it is IE 4, we set document.all. If we are not IE 4 then we use the standard getElementById
  if (ie4 == 1) {
    var iframe = document.all['if'+link.id];
  }
  else {
    var iframe = document.getElementById('if'+link.id);
  }

  if(link.innerHTML == qpv) {
    if(iframe) {
      // Reuses the IFrame if open already
      iframe.src = link.href;
      iframe.style.height = psize;
      iframe.style.visibility = 'visible';
	} else {
      // Build the Frame and Load the URL
      myBR = document.createElement('br');
      myBR.setAttribute('id','br'+link.id);
      link.parentNode.appendChild(myBR);
      myIframe = document.createElement('iframe');
      myIframe.setAttribute('id','if'+link.id);
      myIframe.setAttribute('width','800');
      myIframe.setAttribute('height',psize);
	  myIframe.setAttribute('class','pframe');
      myIframe.setAttribute('src',link.href);
      link.parentNode.appendChild(myIframe);
    }
    link.innerHTML = cpv;
  } else if(iframe) {
    if (ie4 == 1) {
      myBR = document.all['br'+link.id];
    } else {
      myBR = document.getElementById('br'+link.id);
    }
    link.innerHTML = qpv;
    link.parentNode.removeChild(iframe);
    link.parentNode.removeChild(myBR);
  }
}
-->