

function e(s){s.options.length=0};function gv(f){v=null;if(f.options){if(f.selectedIndex>-1)value=f.options[f.selectedIndex].value}else{if(f.length){for(var b=0;b<f.length;b++)if(f[b].checked)value=f[b].value}else if(f.checked)value=f.value}return value}
function gu(v){v=v.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");var regexS="[\\?&]"+v+"=([^&#]*)";var regex=new RegExp(regexS);var results=regex.exec(window.location.href);if(results==null)return "";else return results[1]}
function onloadAdd(f){var w=window;var o=w.onload;if(typeof w.onload!='function'){w.onload=f;w.onpageshow=f}else{w.onload=function(){o();f()};w.onpageshow=function(){o();f()}}}

var isOpera, isIE = false;
if(typeof(window.opera) != 'undefined'){isOpera = true;}else if(navigator.userAgent.indexOf('Internet Explorer')){isIE = true;}
if(isOpera || isIE){
  d=document;
  d.nativeGetElementById = d.getElementById;
  d.getElementById = function(id){
    var elem = d.nativeGetElementById(id);
    if(elem){
      if(elem.id == id){
        return elem;
      } else {
        for(var i=1;i<d.all[id].length;i++){
          if(d.all[id][i].id == id){
            return d.all[id][i];
          }
        }
      }
    }
    return null;
  };
}

