// Custom jquery to run for the site
$(document).ready(function() {
	// do stuff when DOM is ready
	
	// round out corners using jquery-corners plugin
	$("div#footer").corners("10px bottom");
	$("div#content").corners("10px transparent top");
	$("div#navigation").corners("10px transparent bottom");
	
	$('.rounded').corners();


});

function returnQBaseArray(){
	
	var fullPath = window.location;
	var relativePath = fullPath['pathname'].toLowerCase();
	var pathArray = new Array();
	pathArray = relativePath.split("/");
	var basePath = pathArray[1];
	
	
	if(pathArray[2]){
		var deepPath = basePath + '/' + pathArray[2];
	}else{
		var deepPath = basePath;
	}
	//alert('basePath> '+fullPath['pathname']);
	
	pathInfo = new Array();
	pathInfo['deepPath'] = deepPath;
	pathInfo['basePath'] = basePath;
	
	
	
	//return pathInfo;
	
	return basePath;// return val of first arg

}