	$(document).ready(function() {
	
	
		function dwSize() {
		    	dwwidth = Math.round($(window).width());
		    	dwheight = Math.round($(window).height());
		    	
		    		//Calculations for DIVs
		    		classHalfWidth = dwwidth / 2;
		    		classHalfHeight = dwheight;
		 	
		 		//DIV Sizes
			 	$('.half').css({height: classHalfHeight, width: classHalfWidth,});
			 	$('body').css({height: dwheight, width: dwwidth});
			 	$('#wrapper').css({height: dwheight, width: dwwidth});
			 	
			 	//Margin Top for Links
			 	$('.link').css({marginTop: (Math.round((dwheight - $('.link').height()) * 0.9 )) });
			 	
			 	
			 	if (dwwidth < "680") {
			 		$('.half').css({ fontSize: 60 });
			 	}
			 	else { $('.half').css({ fontSize: 120 }); }
			 	
			 	
		};
		
		dwSize();
		
		$(window).resize(function () {
			dwSize();
		});
	});
	
