// JavaScript Document
$(document).ready( function () {
	var thisbot = document.body.offsetHeight
	var ph = pageHeight();
	var needheight = thisbot < ph  ? ph - thisbot : 0
	if(needheight)
	{
		var nd = document.createElement('div')
		nd.style.height = needheight + 'px'
		nd.style.width = '100%';
		nd.style.clear = 'both'
		document.getElementById('main').appendChild(nd)
	}
})
function pageHeight() {return  window.innerHeight != null? window.innerHeight : document.documentElement && document.documentElement.clientHeight ?  document.documentElement.clientHeight : document.body != null? document.body.clientHeight : null;} 
