		
		var agt=navigator.userAgent.toLowerCase(); 
		var is_nav  = ((agt.indexOf('mozilla')!=-1) && (agt.indexOf('spoofer')==-1) 
                && (agt.indexOf('compatible') == -1) && (agt.indexOf('opera')==-1) 
                && (agt.indexOf('webtv')==-1)); 
		var is_major = parseInt(navigator.appVersion); 
		var is_nav4 = (is_nav && (is_major == 4)); 

		function show(thistag) {
		 	if(!is_nav4) {
		  	styleObj = document.getElementById(thistag).style;
		  	styleObj.display = 'inline';
			}
		}
		function hide(thistag) {
			if(!is_nav4) {
		  	styleObj = document.getElementById(thistag).style;
				styleObj.display = 'none';
			}
		}

    //functions for the display of the overlay/popup geofilter layers
    function showGeofilterOverlay(e, location) {     
      	var posx = 0;
		var posy = 0;
      
      //get mouse pointer position
    	if (e.pageX || e.pageY) {
    		posx = e.pageX;
    		posy = e.pageY;
    	} else if (e.clientX || e.clientY) {
    		posx = e.clientX + document.body.scrollLeft;
    		posy = e.clientY + document.body.scrollTop;
    	}
      
      document.getElementById('geofilter-overlay').style.display='block';
    document.getElementById('geofilter-error').style.display='none';
    	
      //position filter box
      if (location == 'rightCol'){        
      	posx = posx - 350;
      }
      document.getElementById('geofilter-overlay').style.left = posx;
    	document.getElementById('geofilter-overlay').style.top = posy;
      
    	document.getElementById('npa-number').focus();
    } 
    
    function pullingAZipFilterOutOfAHat() {
      //'zero out' the display of the error message, in case it's already visible
     // document.getElementById('geofilter-error-zip').style.display='none';
      
      //use the position of the npanxx overlay to position the zip overlay
    	
      document.getElementById('geofilter-overlay').style.display='none';
      document.getElementById('geofilter-overlay-zip').style.display='block';
      document.getElementById('zip-code').focus();
    }
    
     function createBookmarkLink() {

	 title = "AT&T CallVantage(R) Service - Phone Service for Broadband"; 
	  // Blogger - Replace with <$BlogItemTitle$> 
	  // MovableType - Replace with <$MTEntryTitle$>
	
	 url = window.location;
	  // Blogger - Replace with <$BlogItemPermalinkURL$> 
	  // MovableType - Replace with <$MTEntryPermalink$>
	  // WordPress - <?php bloginfo('url'); ?>
	
		if (window.sidebar) { // Mozilla Firefox Bookmark
			window.sidebar.addPanel(title, url,"");
		} else if( window.external ) { // IE Favorite
			window.external.AddFavorite( url, title); }
		else if(window.opera && window.print) { // Opera Hotlist
			return true; }
	 }
	 
	function toggleContent(obj){
		var parentLI = obj.parentNode;
		// "var path;" is required to be set by the PHP on the page layer
		
		if(parentLI.className == "display"){
			//set the classname -- used to remember state
			parentLI.className = "hidden";
		} else {
			//set the classname -- used to remember state
			parentLI.className = "display";
		}
		// CSS is used to hide and show the content
	}
	