(function(){
	var $ = jQuery,
		plains = window.plains || (window.plains = {}),
		site = window.plains.site = {};
	
	site.paths = {};
	site.paths.root = window.location.protocol+"//"+window.location.host+"/";
	site.paths.theme = "/sites/plains_eastern/themes/default/";

	site.paths.segments = (window.location.pathname).replace(/(\/$)/,"").split(/\/+/);

	
	site.pages = {};
	
	
	var $html, $head, $body, $bg, $wrapper, $header, $nav, $page, $footer;
	
	site.pages["common"] = new esf.site.Page({
		test:function(){return false;}, //to hardset a page to display, redefine this to "true". See embeds/footer_assets template.
		init:function(){
			var I = this;

            $html = $("html");
            $head = $html.children("head");
            $body = $html.children("body");
            $bg = $("#bg");
            $wrapper = $("#wrapper");
            $header = $("#header");
            $nav = $("#nav");
            $page = $("#page");
            $footer = $("#footer");
			
			
		}
		
	});
	
	
	
})();
