// JavaScript Document
function jump_to(){

  var location = document.jumpTo.groups.options[document.jumpTo.groups.selectedIndex].value;
  top.location.href=location; 
  return;
}
function getURL() {
               document.forms.URL.value=window.parent.location
            }	
			
function favorites(){
if ((navigator.appName == "Microsoft Internet Explorer") && (parseInt(navigator.appVersion) >= 4)) {
var url="http://www.jenman.com.au";
var title="Jenman - Ethics In Real Estate";
window.external.AddFavorite(url,title);
	}
else {
alert("Bookmark this site with (CTRL-D)");
	}
}

function despammail(strUser, strDomain){
	document.location = "mailto:" + strUser + "@" + strDomain;
	}

function clean(field){
        field.value = '' ;
		}

function toggleVisible(inID) { 
	if (document.getElementById(inID).style.display == 'none') 
	{ document.getElementById(inID).style.display = 'block'; } 
		else { document.getElementById(inID).style.display = 'none'; } 
		}
		
/*function browserSniffer() {
	this.browserVersion = parseInt(navigator.appVersion);
	this.browserPlatform = navigator.platform;
	this.browserName = navigator.appName;

	this.isOpera = (this.browserName.indexOf('Opera') > -1) ? true : false;
	this.isNavigator = (this.browserName.indexOf('Netscape') > -1) ? true : false;
	this.isExplorer = (this.browserName.indexOf('Explorer') > -1) ? true : false;
	
	this.isMac = (this.browserPlatform.indexOf('Mac') > -1) ? true : false;
	
	this.isFour = (this.browserVersion == 4) ? true : false;
	
	this.isIE3 = ((this.browserVersion == 3) && (this.isExplorer)) ? true : false;
	this.isNS4 = ((this.browserVersion == 4) && (this.isNavigator)) ? true : false;
	this.isNS6 = ((this.browserVersion == 5) && (this.isNavigator)) ? true : false;
}

	function toggleVisible(id, gid) {
		var sniffer = new browserSniffer();
		if (sniffer.isExplorer) {
			if (document.all[id].style.display == "") {
				document.all[id].style.display = "none";
			}
			else {
				document.all[id].style.display = "";
			}
		}
		else if (sniffer.isNS6) {
			divObj = document.getElementById(id);
			if (divObj.style.display == "") {
				divObj.style.display = "none";
			}
			else {
				divObj.style.display = "";
			}
		}
	}
*/

