

function body_load() {
  setTimeout(function(){
  featuredcontentslider.init({
    id: "rotator",
    contentsource: ["inline", ""],
    toc: "markup",
    nextprev: ["", ""],
    enablefade: [true, 0.04],
    autorotate: [true, 4000], //pause time (in milliseconds)
	onChange: function(previndex, curindex){}
  })}, 400);
}

function attachEvt(type, el, evt) { // object, function
	if(window.addEventListener) {
	  if(type.toLowerCase()=='mousewheel') el.addEventListener('DOMMouseScroll', evt, false);
	  el.addEventListener(type, evt, false);  // standard event attaching
	}
	else if(window.attachEvent) el.attachEvent('on'+type, evt);  // IE 5+
	else el['on'+type] = evt;  // if all else fails...
}

attachEvt("load", window, body_load);

