$(document).ready(function(){
	// This actually checks viewport height, which is most reliable
	function get_vertical() {
		var height = $(window).height();
		if (height > 740) {
			$('.content').addClass('get_vertical');
		} else {
			$('.content').removeClass('get_vertical');
		};
	};
	// Run on document ready
	get_vertical();
	// Run on window resize
	$(window).resize(function() {
		get_vertical();
	});
});
/*
function popup(url, w, h) {
	
	var wid = 480;
	var hi = 600;
	
	if (w != null) wid = w; 
	if (h != null) hi  = h; 
	
	var scroll = true;
	
	var winl = (screen.width-wid)/2;
	var wint = (screen.height-hi)/2;
	
	new_spec = wid + "_" + hi + scroll;
	scrolling = scroll? "yes": "no";
	if (scroll && document.all && (navigator.userAgent.indexOf("Mac") > -1)) wid = wid+17;
	newwin=window.open(url,new_spec,"WIDTH=" + wid + ",HEIGHT=" + hi + ",scrollBars=" + scrolling + ",resizable=no,screenX="+winl+",screenY="+wint+",left="+winl+",top="+wint);
	newwin.focus();
}
*/

