<!--
function changeImages() {
  for(var i=0;i<arguments.length;i+=2) {
    document[arguments[i]].src = arguments[i+1];
  }
}

function popupPdf(pageURL) {
  if (window.innerWidth <= 640 || document.body.clientWidth <= 640)
    window.location = pageURL;
  else if (window.innerWidth <= 800 || document.body.clientWidth <= 800)
    window.open(pageURL,'',config='left=0,top=0,menubar,resizable,scrollbars,status');
  else
    window.open(pageURL,'',config='width=800,height=600,left=0,top=0,menubar,resizable,scrollbars,status');
}

function OpenCloseDiv(divID) {
  if (document.getElementById(divID).style.display == 'block')
    document.getElementById(divID).style.display = 'none';
  else
    document.getElementById(divID).style.display = 'block';
}

function Initialize() {
  if (window.innerWidth) {
    pageLeft = (window.innerWidth - PAGE_WIDTH)/2;
    if (pageLeft < 0) pageLeft = 0;
    //pageTop = (window.innerHeight - PAGE_HEIGHT)/2;
    //if (pageTop < 0) pageTop = 0;
    pageTop = 0;
    document.getElementById(divID).style.left = pageLeft + "px";
    document.getElementById(divID).style.top = pageTop + "px";
  }
  else if (document.documentElement) { // IE6+
    pageLeft = (document.documentElement.clientWidth - PAGE_WIDTH)/2;
    if (pageLeft < 0) pageLeft = 0;
    //pageTop = (document.documentElement.clientHeight - PAGE_HEIGHT)/2;
    //if (pageTop < 0) pageTop = 0;
    pageTop = 0;
    document.all[divID].style.left = pageLeft + "px";
    document.all[divID].style.top = pageTop + "px";
  }
  else if (document.body) { // older IEs
    pageLeft = (document.body.clientWidth - PAGE_WIDTH)/2;
    if (pageLeft < 0) pageLeft = 0;
    //pageTop = (document.body.clientHeight - PAGE_HEIGHT)/2;
    //if (pageTop < 0) pageTop = 0;
    pageTop = 0;
    document.all[divID].style.left = pageLeft + "px";
    document.all[divID].style.top = pageTop + "px";
  }
}
//-->