jQuery.getDocHeight = function(){
	return Math.max(
			jQuery(window).height()
			//jQuery(document).height()
	);
};


function rotate() {
	jQuery('#next').click();
}

function rotate_foo() {
	jQuery('#next_foo').click();
}
