// Custom library javascript

//put jquery in noconflict mode
$.noConflict();


jQuery(document).ready(function($) {
    // Code that uses jQuery's $ can follow here.
	
  });
  
jQuery(function($){
	// Code that uses jQuery's $ can follow here.
	
	// Accordion
	$("#accordion").accordion({ header: "h3" });
	$("#accordion").accordion();
});

function addEvent(obj, type, fn)  {
  if (obj.attachEvent) {
    obj['e'+type+fn] = fn;
    obj[type+fn] = function(){obj['e'+type+fn](window.event);}
    obj.attachEvent('on'+type, obj[type+fn]);
  } else
    obj.addEventListener(type, fn, false);
}
