var exit=true;
function popup(filename){
if(exit){
var popup = window.open(filename, "best","height=700,width=850,top=0,left=0,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no,toolbar=no,directories=no");
self.focus();
}
}

function v(){
  window.status=' ';
  return true;
}

function s(){
for (var i=0;i<document.links.length;i++){
  document.links[i].onmouseover= v;
  document.links[i].onmouseout= v;
  }
}

function all(i){
  window.open('http://www.underground-dog-fence.com/ssi/go2.php?a=2&sname='+i);
}

function cj(i){
  window.open('http://www.underground-dog-fence.com/ssi/go.php?rid=387247&a=1&sname='+i);
}

function layerShow(blockID) {
	  if( document.getElementById ) {
		  document.getElementById(blockID).style.display = "block";
  	}
  }
  
function layerHide(blockID) {
  	if( document.getElementById ) {
  		document.getElementById(blockID).style.display = "none";
  	}
  }
layerList = new Array('10', '11');
	
function showAdvancedLayer(listSelected) {
		for (i=0; i<layerList.length; i++) {
			layerHide(layerList[i]);
		}
		layerShow(layerList[listSelected]);
	}	
	
layerList2 = new Array('20', '21');
	
function showAdvancedLayer2(listSelected) {
		for (i=0; i<layerList2.length; i++) {
			layerHide(layerList2[i]);
		}
		layerShow(layerList2[listSelected]);
	}		

