var t_height,t_gap, container_height=0;
jQuery(document).ready(
function(){
	if(jQuery("#container").height()<550) jQuery("#content").height(550);
	jQuery(window).resize();
	checkheight();
	setInterval("checkheight()",2000);
});
		
jQuery(window).resize(
function(){
	if(jQuery.browser.safari || jQuery.browser.mozilla){
		if(jQuery("body").width()%2 ==1){
			jQuery("body").css("margin-left","1px");
		}else{
			jQuery("body").css("margin-left","0px");
		};
	}
});

function checkheight(){
	if(container_height!=jQuery("#container").height()){
		jQuery("#container").css({"padding-bottom":"0px","margin-bottom":"0px"});	
		t_height=jQuery("#container").height() + jQuery("#header").height();
		t_gap=Math.ceil(t_height/63)*63-t_height;
		jQuery("#container").css({"padding-bottom":t_gap+"px"});
		container_height=jQuery("#container").height();
	}
}



