function mOvr(src,clrOver) {
	if (!src.contains(event.fromElement)) {
	src.style.cursor = 'hand'; src.bgColor = clrOver; }
}
function mOut(src,clrIn) {
	if (!src.contains(event.toElement)) {
	src.style.cursor = 'default'; src.bgColor = clrIn; }
}
function mClk(src) {
	if(event.srcElement.tagName=='TD'){src.children.tags('A')[0].click();}
}

window.defaultStatus='';

var popWin = null
var winCount = 0
var winName = "popWin"
function openPopWin(winURL, winWidth, winHeight, winFeatures, winLeft, winTop){
  var d_winLeft = 20
  var d_winTop = 20
  winName = "popWin" + winCount++
  closePopWin()
  if (openPopWin.arguments.length >= 4)
    winFeatures = "," + winFeatures
  else
    winFeatures = ""
  if (openPopWin.arguments.length == 6)
    winFeatures += getLocation(winWidth, winHeight, winLeft, winTop)
  else
    winFeatures += getLocation(winWidth, winHeight, d_winLeft, d_winTop)
  popWin = window.open(winURL, winName, "width=" + winWidth
           + ",height=" + winHeight + winFeatures)
  }
function closePopWin(){
  if (navigator.appName != "Microsoft Internet Explorer"
      || parseInt(navigator.appVersion) >=4)
    if(popWin != null) if(!popWin.closed) popWin.close()
  }

function getLocation(winWidth, winHeight, winLeft, winTop){
  var winLocation = ""
  if (winLeft < 0)
    winLeft = screen.width - winWidth + winLeft
  if (winTop < 0)
    winTop = screen.height - winHeight + winTop
  if (winTop == "cen")
    winTop = (screen.height - winHeight)/2 - 20
  if (winLeft == "cen")
    winLeft = (screen.width - winWidth)/2
  if (winLeft>0 &winTop>0)
    winLocation =  ",screenX=" + winLeft + ",left=" + winLeft
                + ",screenY=" + winTop + ",top=" + winTop
  else
    winLocation = ""
  return winLocation
  }

function newswin (url)
{ window.open (url, "©Û°Ó§½·s»D", "toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=yes,width=700,height=500,top=10,left=50");
}

function winopen (url)
{ window.open (url, "Window", "toolbar=no,location=no,scrollbars=yes,directories=no,status=no,menubar=no,resizable=yes,width=615,height=540,top=100,left=100");
}

function winopen2 (url)
{ window.open (url, "AnotherWindow", "toolbar=no,location=no,scrollbars=no,directories=no,status=no,menubar=no,resizable=yes,width=310,height=187,top=0,left=0");
}
function winopen3 (url)
{ window.open (url, "Sleeper", "fullscreen=1,toolbar=0,location=0,directories=0,status=1,menubar=0,scrollbars=0,resizable=0");
}
