function friend()
{
	var friendBlock = document.getElementById('send-to-friend');
	if(friendBlock != null) friendBlock.className = 'hide';
	var friendLink = document.getElementById('friend-link');

	if(friendLink != null) friendLink.onclick = function(){show(friendBlock);return false;};
}
function show(friendBlock)
{
	friendBlock.className = 'show'
}
//window.onload = friend; //Andy - I've removed this for testing

if(jQuery) {
	jQuery(function() {
		jQuery('a.new-window').click(function (evnt) {
			window.open(this.href);
			return false;
		});
	});
}
