/*

This script was created by Ian Lloyd (http://lloydi.com/). I'd appreciate it 
if you could keep this comment in the script if you choose to use it (albeit 
in an amended form.

The original blog entry relating to this can be found here: http://tinyurl.com/p9tqb.

The addEvent function comes courtesy of Scott Andrew: http://tinyurl.com/qcmrd

*/

function doPrint(id){
	alert("ok..");
	document.getElementById("emailRow").style.display = 'none';
	var el = document.getElementsById("sect1");
	el.setAttribute("className","print_section print");
	el.setAttribute("class","print_section print");
	if (window.event) 
	{
		window.event.returnValue = false;
		window.event.cancelBubble = true;
	} 
	else if (e) 
	{
		e.stopPropagation();
		e.preventDefault();
	}

	window.print();
}



