/*! This script hides the top_of_page_link when the browser window size is larger than the document size
*/

$(document).ready(function() {
	var winHeight = $(window).height(); // returns height of browser viewport
	var pageHeight = $(document).height(); // returns height of HTML document
	if (winHeight >= pageHeight) {
		$("#top_of_page_link").hide();
	};
//	alert("The Window Height is: "+winHeight+"px."+"The Page Height is: "+pageHeight+"px."); // test message
	}); //end doc ready
