// JavaScript Document

// css button helper
$(document).ready(function(){
						   
	// Add the additional structure to the buttons
	$('a.button').wrapInner( '<span class="wrap"><span></span></span>' );
	
	// Make the buttons go back to their normal state (IE)
	$('a.button').click( function() {
		$(this).blur();
	});
	
	$('#member_logout').click( function() {
		location.href ="/members/logout.cfm";
	});
	
	
	
	// Add additional structure to statement boxes
	$('.statement_box').wrapInner( '<div class="statement_content"></div>' );
	$('.statement_title').after( '<div class="divider"> </div>' );
	

	
	

	
}); 


// suckerfish nav helper
/*startList = function() {
	if (document.all&&document.getElementById) {
		navRoot = document.getElementById("nav");
		for (i=0; i<navRoot.childNodes.length; i++) {
			node = navRoot.childNodes[i];
			if (node.nodeName=="LI") {
				node.onmouseover=function() {
					this.className+=" over";
  				}
  				node.onmouseout=function() {
  					this.className=this.className.replace(" over", "");
   				}
   			}
  		}
 	}
}
window.onload=startList;*/