var hdr = document.getElementById("header01");

  function init() {
       if (arguments.callee.done) return;
       arguments.callee.done = true;
	   posi()
   }

   if (document.addEventListener) {
       document.addEventListener("DOMContentLoaded", init, null);
   }

   /* for Internet Explorer */
   /*@cc_on @*/
   /*@if (@_win32)
   /*@end @*/

   /* for other browsers */
 window.onload = init;
   
window.onresize = new Function ("posi()")
   
function  posi() {
	var tst1 = document.getElementById("bg001");
	wi = Math.floor ((document.body.offsetWidth -700)/2)
	 if (wi<0) wi = 0;
	// hdr.style.left = wi + "px"
	 tst1.style.width = 200 + wi + "px"
	 
	 
	   } 


