function hideModal(objId) {
	obj = jQuery('#' + objId);
	jQuery('#modalShade').hide();
	jQuery(obj).hide();
}
function hideModals() {
	jQuery('#modalShade').hide();
	jQuery('.modal').hide();
}
function showModal(objId) {
	obj = jQuery('#' + objId);
	jQuery( 'html, body' ).animate( { scrollTop: 0 }, 0 );
	jQuery('#modalShade').show();
	jQuery(obj).show();
} 

function gup(name)
{
	// courtesy of http://www.netlobo.com/url_query_string_javascript.html - [changed to consolidate un-needed variable instantiations and returns]
	name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
	var results = new RegExp( "[\\?&]"+name+"=([^&#]*)" ).exec( window.location.href );
	if( results != null ) {
		return returnString = results[1];
	}
}


