document.write('<style type="text/css">');
document.write('.noscript{display: none;}');
document.write('</style>');

function swapDisplay(x) {
	x.style.display = (x.style.display=="block") ? "none" : "block";
}
function show(x) {
	swapDisplay(document.getElementById(x));
}
function newWindow(el) {
    var url = el.href;
    window.open(url,'', 'toolbar=no,menubar=no,location=no,directories=no,scrollbars=yes,resizable=yes,status=no,width=800,height=600');
    return false;
}
function registerEventHandlers(){
        // hilite all input class button*
        var inputs = document.getElementsByTagName("input");
        for(var i = 0; i < inputs.length; i++){
            var button = inputs[i];
            if(button.className.indexOf("button") != -1){ 
                button.onmouseover = function(){this.style.color = "#F30168"; this.style.cursor = "hand";}
                button.onmouseout = function(){this.style.color = "#000000"; this.style.cursor = "default";}
            }
        }
}
