function SwapImage(strImgName, strImgSrc) {
  var img = new Image();
  img.src = strImgSrc;
  document[strImgName].src = img.src;
}

function gotoURL(strURL) {
  window.location = strURL;
}
	
function setHandCursor(obj) {
  obj.style.cursor = 'hand';
}

function setNormalCursor(obj) {
  obj.style.cursor = 'auto';
}

function onmouseover_link(obj) {
	obj.style.cursor = 'hand';
	obj.style.color = '#8F0000';
}

function onmouseout_link(obj) {
	obj.style.cursor = 'auto';
	obj.style.color = '#BF0000'
}

function onmouseover_topmnu(obj) {
	obj.style.cursor = 'hand';
	obj.style.color = '#8F0000';
}

function onmouseout_topmnu(obj) {
	obj.style.cursor = 'auto';
	obj.style.color = '#FFFFFF'
}

function onmouseover_sidemnu(obj) {
	obj.style.cursor = 'hand';
	obj.style.color = '#BF0000';
	obj.style.listStyleImage = 'url(images/redsquares.gif)';
}

function onmouseout_sidemnu(obj) {
	obj.style.cursor = 'auto';
	obj.style.color = '#888888'
	obj.style.listStyleImage = 'url(images/greysquares.gif)';
}

function OpenWindow(strURL) {
  var newwindow;
  newwindow = window.open(strURL);
  newwindow.focus();
}

function OpenItemWindow(strURL) {
  var itemwindow;
  itemwindow = window.open(strURL,'ItemWindow','width=800,height=600,left=50,top=50,scrollbars=no');
  itemwindow.focus();
}