function addJsLinks() {	
	// If we have the list
	if(oldUL = document.getElementById("utility")) {	
		// Set up temp vars
		var a = new Array();
		var j = 0;
		var tempParent = oldUL.parentNode;
		
		
		// Create the new UL, LI item with link and onClick function
		
		var newUL = document.createElement("UL");
		newUL.setAttribute("id", "utility");
		
		var LI = document.createElement("LI");
		var A = document.createElement("A");
		A.appendChild(document.createTextNode("Print this page"));
		A.setAttribute("href", "#");
		A.onclick = function() {
			window.print();
			return false;
		}		
		LI.appendChild(A);
		
		// For each item in the current list, add it to an array and then remove it
		for(var i = 0; i < oldUL.childNodes.length; i++) {
			if(oldUL.childNodes[i].tagName == "LI") {
				// Backup the old list
				a[j] = oldUL.childNodes[i];
				j ++;
			}
		}
		
	    // Append the first item formt he backup back to the list
		newUL.appendChild(a[0]);
	    // Append the new item
	    newUL.appendChild(LI);
	    // Append the remaining items
	    for(var i = 1; i < a.length; i++) { newUL.appendChild(a[i]); }
	
		// Remove the old UL and add the new one
		tempParent.removeChild(oldUL);		
		tempParent.appendChild(newUL);
		
	}
}

addLoadEvent(addJsLinks);