Window.onDomReady(function() {
   var togglers = $$('h2.toggler');
   var accordians = $$('div.accordian');
   // Create the accordion
   var myAccordion = new Accordion(togglers, accordians, {opacity: true, display: 0});

    var as = [];
	$$('h2').each(function(a){
		if (a.getAttribute('title')) as.push(a);
	});

    $$('img').each(function(a){
		if (a.getAttribute('title')) as.push(a);
	});

    $$('a').each(function(a){
		if (a.getAttribute('title')) as.push(a);
        if(a.getAttribute('onClick') == null)
        a.setAttribute('target','_blank');
	});

	new Tips(as, {maxOpacity: 0.8, maxTitleChars: 21});
});
