document.body.id = 'js'; 

function redraw (){
	
	var height = jQuery(document).height();
	var width  = jQuery(document).width();	
	
	/*
	if (width > 240 + 780){
		jQuery('#main').css ('width', width - 260);
	}
	*/
	
	
	if (jQuery('.content').height() < 700){
		jQuery('.content').css ('height', 700);
	}
	

	jQuery("#spot-bottom").css("top", 130 +  jQuery('#table').height() + 260 - 100);
}

/*
$(window).resize(function (){	
	setTimeout(function () {location.reload(); redraw()}, 700);
});*/


$(document).ready(function () {
	redraw();
});	