function changeLink(page)
{
document.getElementById('page').innerHTML=page
}



var message="Function Disabled!";

/////////////////////////////////////
function clickIE4(){
if (event.button==2){
alert(message);
return false;
}
}

function clickNS4(e){
if (document.layers||document.getElementById&&!document.all){
if (e.which==2||e.which==3){
alert(message);
return false;
}
}
}

if (document.layers){
document.captureEvents(Event.MOUSEDOWN);
document.onmousedown=clickNS4;
}
else if (document.all&&!document.getElementById){
document.onmousedown=clickIE4;
}

document.oncontextmenu=new Function("alert(message);return false")


//Hide status bar msg script

//configure status message to show
var statusmsg=""

function hidestatus()
{
window.status=statusmsg
return true
}



function calcHeight()
{
  //find the height of the internal page
  var the_height=
    document.getElementById('iframe').contentWindow.
      document.body.scrollHeight;

  //change the height of the iframe
  document.getElementById('iframe').height=
      the_height;
}

function clearDefault(el) 
{
  if (el.defaultValue==el.value) el.value = ""
}

//Mouse Over
function a(txt) { self.status = txt } 
function b() { self.status = "" }






// Hide tags with id="noprint" 
//when printing
function printSetup()


    {
    var a = document.all.item("noprint");


        if (a!=null) {


            if (a.length!=null) {
            //multiple tags found

                for (i=0; i< a.length; i++) {
                a(i).style.display = window.event.type == "beforeprint" ? "none" :"inline";
            }

        } else 

        //only one tag
        a.style.display = window.event.type == "beforeprint" ? "none" :"inline";
    }

} 

