i\'m trying to attach an event handler to the load event of a link tag, to execute some code after a stylesheet has loaded.
new_element = document.createElem
An href does not have a load event you need to apply your stuff as the page itself loads e.g.
window.onload = function(){ //code here }
use the function on this page: http://www.dustindiaz.com/top-ten-javascript/
to add the event the body element (in line would be )