function getElementIE(txt_id){ //Because IE likes to be 'special,' this function accounts for the fact that even though only one element with
	// id=txt_id exists in the document, IE returns the first element with the name equal to the id using the method
	// getElementById(id). In order to get the correct element, we have to iterate through the document.all-IE specific
	// array of things in the document.
 	if(document.all && document.all[txt_id] != undefined && document.all[txt_id].nodeName == undefined){//shouldn't get here if isn't IE, but meh *shrug* doesn't hurt
 		for(aaa=0;aaa<document.all[txt_id].length;aaa++){
			if(document.all[txt_id][aaa].id == txt_id){
				return (document.all[txt_id][aaa]);
			}
		}
 	}else{
 		return (document.getElementById(txt_id));//in this case, there's only 1, so doesn't really matter
 	}
}

function CreateBookmarkLink(){
	var title = "Credit Union Careers";
	var url = location.href;

	if (window.sidebar) window.sidebar.addPanel(title, url,"");
	else if( window.opera && window.print ){
		var mbm = document.createElement('a');
		mbm.setAttribute('rel','sidebar');
		mbm.setAttribute('href',url);
		mbm.setAttribute('title',title);
		mbm.click();
	}else if( document.all ) window.external.AddFavorite( url, title);
};

function hide(idx){
	if (document.getElementById && document.getElementById(idx)){
		obj = getElementIE(idx);
		obj.style.display = "none";
	}
};

function emailThis(){
	document.getElementById('email_this').style.display = "block";
};

function showMore(idx, e){
	document.getElementById(idx).style.display = 'block';
	if(e){
		if(e.y) document.getElementById(idx).style.top = e.y;
		if(e.pageY) document.getElementById(idx).style.top = e.layerY;
	}
}//end showMore