function bet_init()
{
	//Create Image
	var imgNode = document.createElement('img');
	imgNode.setAttribute('src', '/images/printer_32.gif');
	imgNode.setAttribute('width', '32');
	imgNode.setAttribute('height', '32');
	imgNode.setAttribute('alt', 'Print this BET');
	imgNode.setAttribute('border', '0');
	
	//Create Link
	var lnkNode = document.createElement('a');;
	lnkNode.setAttribute('href', '#');
	lnkNode.onclick = function () {printme()};
	lnkNode.appendChild(imgNode);
	
	//Create List item
	var liNode = document.createElement('li');
	liNode.appendChild(lnkNode);	

	//Insert List Item
	document.getElementById('buttonList').appendChild(liNode);
	
	//Specify javascript for email link
	lnkNode = document.getElementById("emailLink");
	lnkNode.onclick = function(){jsPopup(this.href, '415', '500', 'no', 'no', 'yes', 'no', 'yes', 'no', '200', '500'); return false;};
		
	//specify javascript for comment link
	lnkNode = document.getElementById("commentLink");
	lnkNode.onclick = function(){jsPopup(this.href, '415', '500', 'no', 'no', 'yes', 'no', 'yes', 'no', '200', '500'); return false;};
	
}

//Print the document
function printme()
{
	window.print();	
}

