function openImg(href, w, h)
{
	var win = window.open(href, '', 'width=' + (w - 4) + ', height=' + (h - 4));
	win.document.write('<html><head><title>Large picture</title' + '></head><body style="margin: 0px; padding: 0px; border: none;">');
	win.document.write('<img src=' + href + ' onclick=self.close() style=\"cursor: pointer;\" title=\"close window\">');
	win.document.write('</body></html>');
	win.focus();
	return false;
}

function movepic(img_name,img_src) {
document[img_name].src=img_src;
}

function picture(loc,w,h)
{
var ww=window.open(loc,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=0,top=50,left=100,width="+w+",height="+h);
ww.focus();
}

function win(loc,w,h)
{
var ww=window.open(loc,"","toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,top=0,left=50,width="+w+",height="+h);
ww.focus();
}

function high(which2){
  theobject=which2
  highlighting=setInterval("highlightit(theobject)",10)
  }
function low(which2){
  clearInterval(highlighting)
  which2.filters.alpha.opacity=20
  }
function highlightit(cur2){
  if (cur2.filters.alpha.opacity<100)
  cur2.filters.alpha.opacity+=10
  else if (window.highlighting)
  clearInterval(highlighting)
  }

