// JavaScript Document
var layout_basicheight=0;
jQuery(document).ready(function() {
	jQuery(window).resize(function() {
		setLayout();
	});
	setLayout();
});


function setLayout() {
	var contentheight=jQuery("div.contentarea").height();
	var nh=jQuery(window).height();
	jQuery("div.siteholder").css("height",nh+"px");
	var nh=jQuery("div.siteholder").height()-jQuery("div.footerarea").height();
	if(nh<contentheight+130) nh=contentheight+jQuery("div.header").height();
	jQuery("div.footerarea").css("top",nh+"px");
}
