<!--

// Author information for style.js
//---------------------------------------------
// Script file assembled by Keith W Bell
// Sunday, May 30, 2004
// www.december14.net
//---------------------------------------------


isIE = (document.all) ? true:false;


function abbrIE() {
	var oldTag, newTag, regX;
	if (isIE) {
		oldTag = document.body.innerHTML;
		regX = /<ABBR([^>]*)>([^<]*)<\/ABBR>/g;
		newTag = oldTag.replace(regX, '<abbr $1><span class=\"abbr\" $1>$2</span></abbr>');
		document.body.innerHTML = newTag;
	}
}


function blurLinks() {
   if(document.getElementsByTagName) {
      var a = document.getElementsByTagName('a');
      for(var i=0; i<a.length; i++) {
         a[i].onfocus = function() {
            this.blur();
         }
      }
   }
}


function statusTitle() {
   if (document.getElementsByTagName) {
      window.defaultStatus = document.title;
   }
   else {
      window.defaultStatus = 'The O\'Keefe Group';
   }
}


window.onload = function(e) {
	abbrIE();
	blurLinks();
	statusTitle();
}


function pcc() {
   newWindow = window.open('inc/pcc.htm','_pcc','height=495,width=430,resizable=no,status=no,toolbar=no,location=no,scrollbars=no');
   }
function mccc() {
   newWindow = window.open('inc/mccc.htm','_mccc','height=390,width=430,resizable=no,status=no,toolbar=no,location=no,scrollbars=no');
   }
function clearText(thefield){
	if (thefield.defaultValue==thefield.value)
	thefield.value = ""
	} 
	
	
sfHover = function() {
    var sfEls = document.getElementById("navbar").getElementsByTagName("li");
    for (var i=0; i<sfEls.length; i++) {
        sfEls[i].onmouseover=function() {
            this.className+=" hover";
        }
        sfEls[i].onmouseout=function() {
            this.className=this.className.replace(new RegExp(" hover\\b"), "");
        }
    }
}
if (window.attachEvent) window.attachEvent("onload", sfHover);
//-->