//rollover
var imgPath = '';

function imgToggle(imgObjectName, imgObjectState) {
    imgObject = new Object();
    imgObject = imgObjectName;
    imgObject.src = imgPath + imgObjectState;
}

function Toggle (id, newsrc){
    if (document.getElementById) {
    	img = document.getElementById(id);
    	img.src = newsrc;
    }
}

// code for new windows
function new_window(url) {
  window.open(url, 'newwindow', 'width=800,height=550,toolbar=yes,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes'); 
  return false;
}
// code for pop ups
function popup(url) {
  win = window.open(url, 'popupwindow', 'width=410,height=450,top=0,left=0,resizable=yes,menubar=yes,scrollbars=yes'); 
  win.focus()
  return false;
}

// code for Print Page
function printPage() {
  if (window.print)
    window.print()
  else
    alert("Sorry, your browser doesn't support this feature.");
}


