function ajaxLoadPage(ajaxUrl, ajaxUpdate) { 
     $(ajaxUpdate).load(ajaxUrl);
}

/*function ajaxLoadPage(ajaxUrl, ajaxUpdate) {
     var req = new Ajax(ajaxUrl, {
                         method: 'get',
                         update: ajaxUpdate,
                         evalScripts: true,
                         autoCancel: true
               }).request();
}
*/

function popUp(URL) {
    day = new Date();
    id = day.getTime();
    eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=750,height=500,left = 390,top = 200');");
}


function desativarDireito() {
// botao direito desativado
var mensagem="";
     function clickIE() {
          if (document.all) {(mensagem);return false;} 
     }

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

     if (document.layers) { 
          document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS; 
     }
     else{
          document.onmouseup=clickNS;document.oncontextmenu=clickIE;
     }
          document.oncontextmenu=new Function("return false")

}