﻿function correctTopOfWrapper()
{
  var screenhight = 0;
  if( typeof( window.innerWidth ) == 'number' ) {
    //Non-IE
    screenhight = window.innerHeight;
  } else if( document.documentElement && ( document.documentElement.clientWidth || document.documentElement.clientHeight ) ) {
    //IE 6+ in 'standards compliant mode'
    screenhight = document.documentElement.clientHeight;
  } else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
    //IE 4 compatible
    screenhight = document.body.clientHeight;
    }

	//debugger;
	if (screenhight>700)
	{
		var wrapper = document.getElementById('wrapper');
		wrapper.style.top="55%";
		wrapper.style.marginTop="-350px";
				
	}
}

correctTopOfWrapper();

