// scripting for Rounded Corners
$.scriptPath = "js/";
// Required Plugins
jQuery.require("DD_roundies_0.0.2a-min.js");

	window.onload = DoItAtTheRightTime;
	function DoItAtTheRightTime()
	{
		//$('li').addClass("dontsplit");  
		//$('.columnize').columnize({columns: 2});
		$('td[style]').removeAttr("style");
//		DD_roundies.addRule('#element', 'TL TR BR BL', true);
			 DD_roundies.addRule('.toprounded', '15px 15px 0 0', true);
			 
			 // DD_roundies.addRule('#secondaryNAVWrapper', '0 0 0 15px', true);
			 DD_roundies.addRule('#siteInfo', '0 0 0 15px', true);
			 DD_roundies.addRule('.rounded', '15px', true);
			 DD_roundies.addRule('div.titlebar', '15px', true);
			 DD_roundies.addRule('.bottomrounded', '0 0 15px 15px', true);
// -------------
//			var $setFooter = function(){						   
			var body = $('#outerWrapper').height();
			var footer = $('#footerWrapper').height();
			var heading = $('#header').height() + $('#goldbar').height() + $('#hpTopNav').height();
			$('#contentWrapper').height(body-footer-heading);
//			var internal = $('#intBanner').height() + $('#siteInfo').height();
//			var current = heading + $('#contentWrapper').height() + footer;
//			if (body > current){
//				$('#contentWrapper').height(body - footer - heading);
//			}
//			if ($('#contentWrapper').height() < internal){
//				$('#contentWrapper').height(internal);
//			}	
//			};
//		$setFooter();
// -----------		
	};
