function switchMenu(obj) {
	var el = document.getElementById(obj);
	if ( el.style.display != "none" ) {
		el.style.display = 'none';
	}
	else {
		el.style.display = '';
	}
}

function _getURL(){
	return encodeURIComponent(window.location.href);
}

function _getTitle(){
	return encodeURIComponent(document.title);	
}

function _getRootURL(){
	//TODO: use window.location.hostname, host, or SOMETHING!!!
	return 'http://www.jonathanboutelle.com'
}

//consider externalizing rss location to here