function copyText(id,item) {
	try{
		var targetText = document.getElementById(id);
		targetText.focus();
		targetText.select();

		if (document.all)
		{
			var clipeText = targetText.createTextRange();
			clipeText.execCommand("Copy");
			alert(item+" has been copied, now you can paste the contents by Paste or hit 'Ctrl+V'.");
		}
		else
		{
			alert("Please hit 'Ctrl+C' to copy "+item+", then paste the contents by Paste or hit 'Ctrl+V'.");
		}
	}catch(e){}
}
