function go() {}
function mt(the_type) {
	var theIframe = 'server_connection';
	var theUrl = '/pages/components/iframes/search_options.php?p=1&mt=' + the_type;
	setIframe(theIframe,theUrl);
}
function newFrameLocation(url) {
	parent.scrollTo(0,0);
	window.location = url;
}
function showProfile(userId) {
	var theUrl = '/members/' + userId + '.shtml';
	window.location = theUrl;
}
function updateSettings(theform) {
	theform.submit();
}
function setSearchOption(value) {
	var theIframe = 'server_connection';
	var theUrl = '/pages/components/iframes/search_options.php?p=1&r=' + value;
	setIframeTwo(theIframe,theUrl);
}
function changeDisplay(newDisplayOption) {
	var theIframe = 'server_connection';
	var theUrl = '/pages/components/iframes/search_options.php?d=' + newDisplayOption;
	setIframe(theIframe,theUrl);
}
function changePage(newPage,cityname) {
	var theIframe = 'server_connection';
	var theUrl = '/pages/components/iframes/search_options.php?p=' + newPage;
	setIframe(theIframe,theUrl);
}
function setIframe(IframeID,theUrl) {
	var theIframe = document.getElementById(IframeID);
	if (theIframe.getAttribute('src') != theUrl) {
		theIframe.setAttribute('src',theUrl);	
	}

}
function setIframeTwo(IframeID,theUrl) {
	var theIframe = document.getElementById(IframeID);
	var theSrc = theIframe.getAttribute('src');
	if (theIframe.getAttribute('src') != theUrl) {
		theIframe.setAttribute('src',theUrl);	
	}
}

