// JavaScript Document
// this function is used where an anchor tag is also used as an ajax trigger
// the id of the anchor is passed to the function and the javascript stops the link from being followed
// this allows ajax to be used if javascript is enabled and href links to be used if javascript is turned off

function linkKiller(link_id)
	{
			if(link_id != "")
				{
					var link_to_kill = document.getElementById(link_id);
					link_to_kill.href = 'javascript:void(0)';
				}
	}
