var message="No information is available";
function click(e) {
if (document.all) {
if (event.button==2||event.button==3) {
alert(message);
return false;
}
}
if (document.layers) {
if (e.which == 3) {
alert(message);
return false;
}
}
}
if (document.layers) {
document.captureEvents(Event.MOUSEDOWN);
}
document.onmousedown=click;

function checkFrames(htmlRoot)
{
    if (parent.TITLE==undefined)
    {
        var currentURL = location.href;
        var end = currentURL.indexOf('jsp');
        var start = currentURL.substring(0,end).lastIndexOf("/")+1;
        var URLHead = currentURL.substring(start,currentURL.length);
        URLHead = URLHead.replace('?','~');
        URLHead = URLHead.replace('=','-');
        window.location = htmlRoot + "/index.jsp?mainframe="+URLHead;
    }
}


