function initNiki() {
  if(!useOWZTemplate)
  {
    changeBackground();
  }
   //collapseDescription();
	
  // test if parser exists
  // sndReq('/xml/test.xml');
  enable_output_escaping();
  enable_output_static();

//  if(window.loadGoogleMap)
//  {
//     loadGoogleMap();
//  }

  if (printit || pivprintit) window.print();

  if(ie && !ie7)
  {
     document.getElementById('column0').style.height = document.body.offsetHeight-2+'px';
  }
}

function enable_output_static() {
  if(!ie) {
    if (document.getElementById('static_content')) {
      document.getElementById('static_content').innerHTML = htmlDecode(document.getElementById('static_content').innerHTML);
    }
  }
}

function init_touchScreen(){
   window.resizeTo(window.screen.availWidth,window.screen.availHeight-1);
   window.resizeTo(window.screen.availWidth,window.screen.availHeight);
}

window.addEvent('domready', initNiki);

