function layoutResize() {
	var page = document.getElementById("page");
	page.style.width = (document.body.clientWidth < 992) ? "990px" : "auto";
}

jQuery(document).ready(function() {

if (jQuery.browser.msie && parseInt(jQuery.browser.version) == 6) {
  layoutResize();
  jQuery(window).resize(function(){layoutResize();});
}

jQuery(function($) {
	$("a[rel^='lightbox']").slimbox({/* Put custom options here */}, null, function(el) {
		return (this == el) || ((this.rel.length > 8) && (this.rel == el.rel));
	});
});

jQuery('#leftside .va-bottom, #rightside .va-bottom').vAlign('bottom');

/*
if (jQuery('#leftcol').height() > jQuery('#center-inner').height()) jQuery('#center-inner').height(jQuery('#leftcol').height());
if (jQuery('#rightcol-inner').height() > jQuery('#center-inner').height()) jQuery('#center-inner').height(jQuery('#rightcol-inner').height());
*/

});


