var js_ok = false;
js_but = new Array();
if ( navigator.appName.substring(0,9) == "Microsoft" &&
parseInt(navigator.appVersion) >= 4 ) js_ok = true;
if ( navigator.appName.substring(0.8) == "Netscape" &&
parseInt(navigator.appVersion) >= 3 ) js_ok = true;

function js_button(pic, desc) {
  if (js_ok) {
    this.pic = new Image();
    this.pic.src = pic;
    this.pic_active = new Image();
    this.pic_active.src = pic.substring(0, pic.length - 4) + "-over.jpg";
    this.text = desc;
  }
}

function js_moveover(id) {
  if (js_ok) {
    document[id].src = js_but[id].pic_active.src;
    window.status = js_but[id].text;}}
function js_moveaway(id) {
  if (js_ok) {
    document[id].src =
    js_but[id].pic.src;
    window.status = "";}}

  function stsMsg(msgStr) {
	window.status=msgStr;
  }
 
  function popUp(url,theName,theWidth,theHeight){
	newWin=window.open(url,theName,'toolbar=no,scrollbars=yes,width=' + theWidth + ',height=' + theHeight + ',resizable=yes');
	newWin.focus();
  }
  function popUp1(url,theName,theWidth,theHeight){
	newWin=window.open(url,theName,'location=yes,menubar=yes,status=yes,toolbar=yes,scrollbars=yes,width=' + theWidth + ',height=' + theHeight + ',resizable=yes');
	newWin.focus();
  }
  function popUp2(url,theName,theWidth,theHeight){
	newWin=window.open(url,theName,'status=yes,toolbar=yes,scrollbars=yes,width=' + theWidth + ',height=' + theHeight + ',resizable=yes');
	newWin.focus();
  }
  function popUp3(url,theName,theWidth,theHeight){
	newWin=window.open(url,theName,'toolbar=no,alwaysRaised=yes,scrollbars=yes,width=' + theWidth + ',height=' + theHeight + ',resizable=yes');
	newWin.focus();
  }


