function $(el){ return document.getElementById(el); }
function style_change(){
	if (window.innerHeight <= 760 && window.innerWidth <= 960)
	{
		$('header').style.position = 'relative';
		$('sidebar').style.margin = '0';
		$('sidebar').style.position = 'relative';
	}
	if (window.innerHeight <= 760 && window.innerWidth > 960)
	{
		$('header').style.position = 'relative';
		$('sidebar').style.margin = '0';
		$('sidebar').style.position = 'relative';
	}
	if (window.innerHeight > 760 && window.innerWidth <= 960)
	{
		$('header').style.position = 'relative';
		$('sidebar').style.margin = '0';
		$('sidebar').style.position = 'relative';
	}
	if (window.innerHeight > 760 && window.innerWidth > 960)
	{
		$('header').style.position = 'fixed';
		$('sidebar').style.margin = '0';
		$('sidebar').style.position = 'fixed';
	}
}
window.onresize = function() { style_change(); }
window.onload = function() { style_change(); }

