 function changeImages() {
   if (document.images) {
    for (var i=0; i<changeImages.arguments.length; i+=2) {
      document[changeImages.arguments[i]].src = eval(changeImages.arguments[i+1] + ".src");
     }
   }
 }

 function pagejump(to_url) {
  if (to_url != "") {
   window.location=to_url
    }
   }


 function picWin(url, name, height, width) {
  var str = "height=" + height + ",innerHeight=" + height;
   str += ",width=" + width + ",innerWidth=" + width;
   if (window.screen) {
    var ah = screen.availHeight - 164;
    var aw = screen.availWidth - 10;
    var xc = (aw - width) / 1;
    var yc = (ah - height) / 0;
   str += ",left=" + xc + ",screenX=" + xc;
   str += ",top=" + yc + ",screenY=" + yc;
      }
   return window.open(url, name, str);
    }


 function puppyShot(url, name, height, width) {
  var str = "height=" + height + ",innerHeight=" + height;
   str += ",width=" + width + ",innerWidth=" + width;
   if (window.screen) {
    var ah = screen.availHeight - 10;
    var aw = screen.availWidth - 10;
    var xc = (aw - width) / 2;
    var yc = (ah - height) / 2;
   str += ",left=" + xc + ",screenX=" + xc;
   str += ",top=" + yc + ",screenY=" + yc;
      }
   return window.open(url, name, str);
    }


var reloaded = false;

function reloadOnceOnly() {
    if (!reloaded) {
        reloaded = true;
        window.frameName.history.go(0);
    }
}


var highlightbehavior="TD"

var ns6=document.getElementById&&!document.all
var ie=document.all

function changeto(e,highlightcolor){
source=ie? event.srcElement : e.target
if (source.tagName=="TABLE")
return
while(source.tagName!=highlightbehavior && source.tagName!="HTML")
source=ns6? source.parentNode : source.parentElement
if (source.style.backgroundColor!=highlightcolor&&source.id!="ignore")
source.style.backgroundColor=highlightcolor
}

function contains_ns6(master, slave) { //check if slave is contained by master
while (slave.parentNode)
if ((slave = slave.parentNode) == master)
return true;
return false;
}

function changeback(e,originalcolor){
if (ie&&(event.fromElement.contains(event.toElement)||source.contains(event.toElement)||source.id=="ignore")||source.tagName=="TABLE")
return
else if (ns6&&(contains_ns6(source, e.relatedTarget)||source.id=="ignore"))
return
if (ie&&event.toElement!=source||ns6&&e.relatedTarget!=source)
source.style.backgroundColor=originalcolor
}


























