//popup window
function openWindow(windowURL,windowName,windowWidth,windowHeight,scroll,center) {
	newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=0,location=0,directories=0,status=0,menuBar=0,scrollbars='+scroll+',resizable=0');
	newWindow.focus(); 
   if (center) {
      newWindow.moveTo((screen.width-windowWidth)/2,(screen.height-windowHeight)/2)
   }
}
//popup window
function openChart(windowURL,windowName,windowWidth,windowHeight,scroll,center) {
	newWindow = window.open(windowURL,windowName,'width='+windowWidth+',height='+windowHeight+',toolbar=1,location=0,directories=0,status=1,menuBar=1,scrollbars='+scroll+',resizable=1');
	newWindow.focus(); 
   if (center) {
      newWindow.moveTo((screen.width-windowWidth)/2,(screen.height-windowHeight)/2)
   }
}
//select box navigation jump
function navChange(obj) {
   if (obj.value != "") {
      location.href = obj.value;
   }
}

//fix content issue... IE 6 flicker bug.
try {
  document.execCommand("BackgroundImageCache", false, true);
} catch(err) {}