/*
 * Dom Ready Event for use with VML PNG fix and Round corners
 * Author: Egor Hmelyoff (hmelyoff@gmail.com)
 */


  body {
    zoom: expression(
    
      this.doReady = function(){
        document.ieReady = true;
      },

      this.ieReady = function(){ //jQuery dom ready function
  			if ( document.ieReady ) return;

        var $this = this;

    		document.attachEvent("onreadystatechange", function(){
    			if ( document.readyState && document.readyState === "complete" ) {
    				document.detachEvent("onreadystatechange", arguments.callee);
    				$this.doReady();
    			}
    		});

    		if ( document.documentElement && document.documentElement.doScroll && window == window.top ) (function(){
    			if ( document.ieReady ) return;

    			try {
    				document.documentElement.doScroll("left");
    			} catch( error ) {
    				setTimeout(arguments.callee, 0);
    				return;
    			}

    			// and execute any waiting functions
    			$this.doReady();
    		})();

        window.attachEvent("onload", function(){
          $this.doReady();
        });

      },
      document.ieReady = false,
      this.ieReady(),
      runtimeStyle.zoom="1" /* one-time called expression, at the same time declare hasLayout */
    );
  }

/* Dom Ready Event (end) */