this.blankwin = function(){
	var hostname = window.location.hostname;
	hostname = hostname.replace("www.","").toLowerCase();
	var a = document.getElementsByTagName("a");	
	this.check = function(obj){
		var href = obj.href.toLowerCase();
		return (href.indexOf("http://")!=-1 && href.indexOf(hostname)==-1) ? true : false;				
	};
	this.set = function(obj){
		obj.target = "_cjis";
		obj.className = "external";
	};	
	for (var i=0;i<a.length;i++){
		if(check(a[i])) set(a[i]);
	};		
};
this.addEvent = function(obj,type,fn){
	if(obj.attachEvent){
		obj['e'+type+fn] = fn;
		obj[type+fn] = function(){obj['e'+type+fn](window.event );}
		obj.attachEvent('on'+type, obj[type+fn]);
	} else {
		obj.addEventListener(type,fn,false);
	};
};
addEvent(window,"load",blankwin);

function bookmarksite(title,url){
if (window.sidebar) // firefox
window.sidebar.addPanel(title, url, "");
else if(window.opera && window.print){ // opera
var elem = document.createElement('a');
elem.setAttribute('href',url);
elem.setAttribute('title',title);
elem.setAttribute('rel','sidebar');
elem.click();
}
else if(document.all)// ie
window.external.AddFavorite(url, title);
}

function nav()
   {
   var w = document.county.jails.selectedIndex;
   var url_add = document.county.jails.options[w].value;
   window.location.href = url_add;
   }
<!--
if (window != top) top.location.href = location.href;
// -->
function Validator(theForm)
{
  if (theForm.qf.value == "")
  {
    alert("Add a first name or initial.");
    theForm.qf.focus();
    return (false);
  }
  if (theForm.qn.value == "")
  {
    alert("Missing last name; married or maiden.");
    theForm.qn.focus();
    return (false);
  }
  _gaq.push(['_trackEvent', 'Testing', 'Valid', 'Clicks']);
  return (true);
}