	  // Cross-browser implementation of element.addEventListener()
      function addListener(element, type, expression, bubbling)
      {
      	bubbling = bubbling || false;
      	if(window.addEventListener) 
      	{ // Standard
      		element.addEventListener(type, expression, bubbling);
      		return true;
      	} 
      	else if(window.attachEvent) 
      	{ // IE
      		element.attachEvent('on' + type, expression);
      		return true;
      	} 
      	else return false;
      }
      
	  window.document.body.style.display='none';
      addListener(window, 'load', myFunction);
      
      function myFunction()
      {
      	//alert("asdf");
      	window.document.body.style.display='block';
      }