function getWindowWidth() {
    var windowWidth = 0;
    if (typeof(window.innerWidth) == 'number') {
        windowWidth = window.innerWidth;
    }
    else {
        if (document.documentElement && document.documentElement.clientWidth) {
            windowWidth = document.documentElement.clientWidth;
        }
        else {
            if (document.body && document.body.clientWidth) {
                windowWidth = document.body.clientWidth;
            }
        }
    }
    return windowWidth;
}
function myResize(){
var mW=getWindowWidth();
document.getElementById('move').style.marginRight=(mW<800)?'-50px':'0px';
}

function show(){
	document.getElementById('hid').style.display='block';
	}

window.onresize=myResize;

