function cw_printCard(cardId) {
        if (window.print && document.getElementById != null) {
		var html = "<html>\n<head>\n";

		html += "\n<title>Good Harbor Team Member</title>\n";
		html += "\n<link rel='stylesheet' href='member_print.css' type='text/css'>";
		//html += "\n</he" + "ad>\n<body onload=\"document.getElementById('printButton').style.display = 'none';\">\n";
		html += "\n</he" + "ad>\n<body >\n";
		
		var printCardElem = document.getElementById(cardId);
		
		if (printCardElem != null) {
				html += printCardElem.innerHTML;
		}
		else {
			alert("Could not find the Card ID section in the HTML");
			return;
		}
		html += "\n</bo" + "dy>\n</ht" + "ml>";
		
		var printWin = window.open("","MemberCard","width=520,height=520,toolbar=0,scrollbars=1");
		printWin.document.open();
		printWin.document.write(html);
		printWin.document.close();
		printWin.print();
		return true;
	}
	else {
		alert("Sorry, this print button is only available in modern browser.\nPlease use the print button on your browser's title bar .");
		return false;
	}
}
