/************************************************ Bookmark site script- © Dynamic Drive DHTML code library (www.dynamicdrive.com)* This notice MUST stay intact for legal use* Visit Dynamic Drive at http://www.dynamicdrive.com/ for full source code***********************************************/function attachEventListener(target,eventType,functionRef,capture){	if (typeof target.attachEvent != "undefined") {		//Man, I hate IE		var functionString=eventType+functionRef;		target["e"+functionString]=functionRef;		target[functionString]=function(event){			if(typeof event=='undefined'){				event=window.event;			}			target["e"+functionString](event);		};		target.attachEvent("on"+eventType,target[functionString]);	} else if (typeof target.addEventListener != "undefined") {		target.addEventListener(eventType,functionRef,capture);	}}function addLoadEvent(func) {  var oldonload = window.onload;  if (typeof window.onload != 'function') {    window.onload = func;  } else {    window.onload = function() {      oldonload();      func();    }  }}