function email() {
	window.open( "mailto:?Subject=Info about Chart Research&Body="+window.location);
}

function comment() {
	window.open('comment.htm','comment','width=300,height=375,scrollbars=no,toolbar=no,statusbar=no,addressbar=no');
}

function print_it() {
	page1=window.location.toString();
	new_array=page1.split("/");
	the_page=new_array[3];
	the_page=the_page.substr(0,the_page.indexOf('.'));
	print_page=the_page + '_print.htm';
	window.open(print_page,'print','width=650,height=400,toolbar=no,statusbar=no,addressbar=no,scrollbars=yes,resizable=yes');
}	


document.write('<a href="#" onClick="comment()"><img src="Images/comment_icon.gif" width="20" height="11" align="absmiddle" border="0">Comment</a>&nbsp;&nbsp;')
document.write('|&nbsp;&nbsp;<a href="#" onClick="print_it()"><img src="Images/print_icon.gif" width="18" height="11" align="absmiddle" border="0">Printer Friendly</a>');
document.write('&nbsp;&nbsp;|&nbsp;&nbsp;<a href="#" onClick="email()"><img src="Images/email_icon.gif" width="18" height="11" align="absmiddle" border="0">Email a Friend</a>');