﻿// JScript File

function disableAnchor(obj, disable)
{
    if(disable)
    {
        var href = obj.getAttribute("href");
        if(href && href != "" && href != null)
        {
            obj.setAttribute('href_bak', href);
        }
        obj.removeAttribute('href');
        obj.disabled = true;
    }
    else
    {
        obj.setAttribute('href', obj.attributes['href_bak'].nodeValue);
        obj.disabled = false;
    }
}	

jQuery().ready(function(){
		// simple accordion
		
		jQuery('.faq-accordion').accordion({
			autoheight: false,
			header: '.faq-question'
		});

	});

	

