include('admin/js/firebug/firebug.js');

//Include function for other files | filename.js | Root Folder is considered /js/.
function include(file)
{
	document.write('<script src="'+file+'" type="text/javascript"></script>');


}

jQuery.fn.log = function (msg) {console.log("%s: %o", msg, this); 	return this;}
log = function (msg, obj) {console.log("%s: %o", msg, obj);}


$(document).ready(function(){

	$(".pg").click(show_page);
	

});


function show_page()
{
	$(".page").hide();
	$(".pg").removeClass("active");
	$(this).addClass("active");
	$("#p"+$(this).html()).show();
	
}