$(document).ready( function(){
	
	/*
	$('#products').load('product-list.html');

	var engineClone = $(".field-template").clone();
	engineClone.find(".product-input").val("Engine");
	engineClone.appendTo('form');
*/
//	$(".pagenav ul").appendTo("#header");
//	$(".pagenav").remove();
//	
//	$("#header ul").css("text-align","center");
//	$("#header ul").attr("id","site_navigation");
//	$("#header ul").css("role","navigation");
//	$("#header ul").css("list-style-type","none");

	$(".widget_pages ul").appendTo("#header");
	$(".widget_pages").remove();
	
	$("#header ul").css("text-align","center");
	$("#header ul").attr("id","site_navigation");
	$("#header ul").css("role","navigation");
	$("#header ul").css("list-style-type","none");
	
	
	
	//	ROUNDED CORNERS / DROPSHADOW (jquery.corners, DD_Roundies, jquery.dropshadow)
	// round corners and set dropshadows once page has fully loaded
	/*
	$(document).ready( function(){
		createEffects();
	});
	
	function createEffects() {
		if(whichBrs() == "Firefox") {								// FF :: corners and drop shadows
			$('.rounded').corners("15px"); 
			$('.dropshadow').dropShadow();
		}
		else {														// IE :: corner fix and drop shadows
			if(whichBrs() == "Internet Explorer")					// not ie8 (implement this still)
			{
				$.uicornerfix('5px');
				DD_roundies.addRule('.ui-corner-all', '15px');
			}
			else {													// chrome and opera are buggy w/ corners
				
			}
		}
		return false;
	}
	*/
});
