function executeIdSearch(input_field) {
  if (/[0-9]+/i.exec(input_field.val()) == null) {
    //alert('Please enter a valid Property ID e.g. 1234567');
    document.location = '/properties/search?selected_tab=0&sold=0&street='+ input_field.val() ;
  } else {
    document.location = '/properties/'+ input_field.val()+'/details' ;
  };
  return false;
}
function open_slideshow(url){
	newwindow=window.open(url,'slideshow','width=1000,height=650,scrollbars=yes,TOOLBAR=NO,resizeable=no,status=no,location=no,directories=no,menubar=no'); 
	if (window.focus) {
		newwindow.focus();
	} 
	return false;
}
/*
sfHover = function() {
	var sfEls = document.getElementById("navigation").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
			this.className=this.className.replace(new RegExp("sfhover\\b"), "");
		}
	}
}
*/
