function simplePopUp(file,name,window_width,window_height)
{
		 window.open(''+file,name,'resizable,menubar=no,toolbar=no,statusbar=no,scrollbars,height='+window_height+',width='+window_width);
}


function buttonOver(own,imgPath)
{
	own.style.cursor="pointer";
	own.src = imgPath;
}

function showTip(elm, sw, evt) {
  var obj=document.getElementById(elm);
  if (sw) {
    if (document.all) {
      tempX = evt.clientX + document.body.scrollLeft;
      tempY = evt.clientY + document.body.scrollTop;
    } else {
      tempX = evt.clientX + window.pageXOffset;
      tempY = evt.clientY + window.pageYOffset;
    }

    if (tempX < 0) tempX = 0;
    if (tempY < 0) tempY = 0;
    obj.style.top  = (tempY + 10) + 'px';
    obj.style.left = (tempX + 10) + 'px';
    obj.style.display="block";
    obj.style.width="200px";
  }
  else {
    obj.style.display="none";
    obj.style.width="1px";
  }
}
