function addLoadEvent(func) {
    var oldonload = window.onload;
    if (typeof window.onload != 'function') {
        window.onload = func;
    } else {
        window.onload = function() {
            oldonload();
            func();
        }
    }
}

function fix_IE6_rollovers(){
   var a = document.getElementById('more1');
   var b = document.getElementById('more2');
   var c = document.getElementById('widelink1');
   var d = document.getElementById('widelink2');
   
   //if(a, b, c, d) alert('all here');
   
   var e = [a, b, c, d];
   
      for(var i=0; i<= e.length; i++){
	     if(e != null && e != ''){
	        //alert('yes');
			e[i].onmouseover = function(){
               this.style.backgroundColor = '#0098d9';
		    }   
		    e[i].onmouseout = function(){
               this.style.backgroundColor = '#d4d4d4';
	        } 
         }			
	  } 
}

//IE6 don't like .class_name:hover, so...if IE6, add onload event for rollovers
if(navigator.userAgent.toLowerCase().indexOf('msie 6') != -1){
   //alert('Wise up & upgrade to a proper browser, fucko');
   window.onload = fix_IE6_rollovers;
}  
