//*******************************************************************************************
//  Standard function for getting any element in document -> browser independent
//*******************************************************************************************
function getElement(elemId)
{
  var elem = null;
  if( document.getElementById )
       { //alert(elemId);        //DOM (IE5+, NS6+, Mozilla0.9+, Opera)
    elem = document.getElementById(elemId);
       }
  else if( document.all)                                   //Proprietary DOM - IE4
       {
              //alert('2');
    elem = document.all[elemId];
       }
  else if( document[elemId] )                     //NS4 also
       {
              //alert('3');
    elem = document[elemId];
       }
  else
  {
              //alert('4');
    if (eval("document."+elemId)!= "undefined")
      elem = eval("document."+elemId);
  }
  return elem;
}

//*******************************************************************************************
//  Formats e ma il address so that it doesn't appear in the code as one literal
//*******************************************************************************************
function getContact()
{
       return "mailto: info @ eSalsa.net";
}

//document.body.oncontextmenu="alert('kupa'); return false;";
//window.oncontextmenu="return false";

String.prototype.trim = function() {
var a = this.replace(/^\s+/, '');
return a.replace(/\s+$/, '');
};
