$(function() {
	$("html, body").css('backgroundAttachment', 'fixed');
	
	$("p").css({
		'fontFamily': '"Helvetica Neue", "Helvetica", "Arial", "Verdana"',
		'color': '#222222',
		'fontSize': '14px',
		'lineHeight': '16px',
		'letterSpacing': '.2px'
	});
	
	$("strong").css({
		'color': '#433223'
	});
	
	$("#featured-boxes strong").css({
		'color': '#D6A365'
	});
	
	$("#gallery").css({
		'border': '2px solid #433223',
		'marginLeft': '-2px',
		'position':'relative',
		'float': 'left'	
	}).find("object").css({
		'position':'relative',
		'float': 'left'
	});
	
	$("#featured-boxes p").css({
		'color': '#CCCCCC'
	});
	
	$("#main-boxes").children('ul').children('li').css({
		'width': '47%',
		'paddingLeft': '0px',
		'textAlign': 'left'
	}).addClass('touts').find('li').css({
		'min-width': '200px',
		'width': 'auto',
		'position': 'relative',
		'float': 'left',
		'lineHeight': '35px'
	});
	

	css = "#main-boxes li a.button {   text-transform: Capitalize; position: relative; float: left;    border-top: 1px solid #f7cf97;   background: #9c6a3e;   background: -webkit-gradient(linear, left top, left bottom, from(#d6a365), to(#9c6a3e));   background: -moz-linear-gradient(top, #d6a365, #9c6a3e);   padding: 3px 10px;   -webkit-border-radius: 3px;   -moz-border-radius: 3px;   border-radius: 3px;   -webkit-box-shadow: rgba(0,0,0,1) 0 1px 0;   -moz-box-shadow: rgba(0,0,0,1) 0 1px 0;   box-shadow: rgba(0,0,0,1) 0 1px 0;   text-shadow: rgba(0,0,0,.4) 0 1px 0;   color: white;   font-size: 14px;   font-family: Helvetica, Arial, serif;   text-decoration: none;   vertical-align: middle;   }";
	css += " #main-boxes li a.button:hover {   border-top-color: #d6a365;   background: #d6a365;   color: #f5f5f5;   }";
	css += " #main-boxes li a.button:active {   border-top-color: #d6a365;   background: #d6a365;   }";
	css += " .services_tout a.button { margin-top: 5px; }";
	css += " .coverage_areas div.h3 { position: relative; float: left; color: #433223; margin-bottom: 10px; font-size: 14px; width: 850px; }";
	css += " .coverage_areas li { position: relative; float: left; width: 230px; line-height: 20px; color: #222222; }";
	
	
	$("<style></style>").attr('type', 'text/css').html(css).appendTo("head");
	
	$("#main-boxes a").addClass('button');
	
	html = "";
	html += "<div class=\"h3\">Custom Concrete Solutions services both commercial and residential customers in the greater CT, NY, MA, RI, NH, VT areas including but not limited to:</div>";
	html += '<ul>';
	html += "<li>Hartford County CT</li>";
	html += "<li>New Haven County, CT</li>";
	html += "<li>Middlesex County, CT</li>";
	html += "<li>Fairfield County, CT</li>";
	html += "<li>Litchfield County, CT</li>";
	html += "<li>New London County, CT</li>";
	html += "<li>Tolland County, CT</li>";
	html += "<li>Windham County, CT</li>";
	html += "<li>NYC</li>";
	html += "<li>Long Island, NY</li>";
	html += "<li>Suffolk County, NY</li>";
	html += "<li>Nassau County, NY</li>";
	html += "<li>Westchester County, NY</li>";
	html += "<li>Queens, NY</li>";
	html += "<li>Putnam County, NY</li>";
	html += "<li>Dutchess County, NY</li>";
	html += "<li>Springfield, MA</li>";
	html += "<li>Boston, MA</li>";
	html += "<li>Worchester County, MA</li>";
	html += "<li>Hampden County, MA</li>";
	html += "<li>Bristol County, MA</li>";
	html += "<li>Plymouth County, MA</li>";
	html += "<li>Norfolk County, MA</li>";
	html += "<li>Middlesex County, MA</li>";
	html += "<li>Essex County, MA</li>";
	html += "<li>Hampshire County, MA</li>";
	html += "<li>Franklin County, MA</li>";
	html += "<li>Berkshire County, MA</li>";
	html += "<li>Providence County, RI</li>";
	html += "<li>Kent County, RI</li>";
	html += "<li>Washington County, RI</li>";
	html += "<li>Windham, VT</li>";
	html += "<li>Cheshire County, NH</li>";
	html += "<li>Hillsborough County, NH</li>";
	html += "<li>Rockingham County, NH</li>";
	html += "</ul>";
	
	$("#featured-boxes").next().html(html).addClass('coverage_areas');
	
	var container = $("#container").css({
		'border': 'none',
		'padding': '20px',
		'background': 'transparent',
		'zIndex': '2',
		'position': 'relative'
	});
	
	$("<div></div>").height($(container).height()).width($(container).width).css({
		'backgroundColor': '#b8a485',
		/*'padding': '20px',
		'border': '4px solid #333333'*/
		'padding-bottom': '35px'
	}).insertAfter(container);
	
	$("#footer p").css('color', '#999999');
});

