﻿// Activate TRIM function for java script
String.prototype.trim = function(){ return this.replace(/^s+|s+$/g,'') }
var ie4 = false; if(document.all) { ie4 = true; }
if (typeof(Sys) != "undefined") Sys.Application.notifyScriptLoaded();
function noCache(uri){return uri.concat(/\?/.test(uri)?"&":"?","noCache=",(new Date).getTime(),".",Math.random()*1234567)};

function getobject(id) { 
  if (ie4) {     
    return document.all[id];
  }else {  
    return document.getElementById(id); 
  }
}
