var win = null

function openWindow(mypage, myname, w, h, scroll) {
    var winl = (screen.width - w) / 2
    var wint = (screen.height - h) / 2
    var settings = 'height=' + h + ','
        settings += 'width=' + w + ','
        settings += 'top=' + wint + ','
        settings += 'left=' + winl + ','
        settings += 'scrollbars=' + scroll + ','
        settings += 'resizable=no'

    win = window.open(mypage, myname, settings)

    if(parseInt(navigator.appVersion) >= 4)
        win.window.focus()
}

function fixUglyIE() { 
	for (a in document.links)
	    document.links[a].onfocus = document.links[a].blur
}

if (document.all)
	document.onmousedown = fixUglyIE

function hidestatus() {
    window.status = ''
    return true
}

if (document.layers)
    document.captureEvents(Event.MOUSEOVER | Event.MOUSEOUT)

document.onmouseover = hidestatus
document.onmouseout = hidestatus
