// Utility Interlink Scripts
// Iframe Loading Utility
function hideLoading() {
document.getElementById('divLoading').style.display = "none";
document.getElementById('divFrameHolder').style.display = "block";
}
//FAQ Functions
$(document).ready(function() {
$('.collapse').on('show.bs.collapse', function() {
var id = $(this).attr('id');
$('a[href="#' + id + '"]').closest('.panel-heading').addClass('active-faq');
$('a[href="#' + id + '"] .panel-title span').html('');
});
$('.collapse').on('hide.bs.collapse', function() {
var id = $(this).attr('id');
$('a[href="#' + id + '"]').closest('.panel-heading').removeClass('active-faq');
$('a[href="#' + id + '"] .panel-title span').html('');
});
});
// Intertek Branding required Open sans font embed
WebFontConfig = {
google: { families: [ 'Open+Sans:400,300:latin' ] }
};
(function() {
var wf = document.createElement('script');
wf.src = 'https://ajax.googleapis.com/ajax/libs/webfont/1/webfont.js';
wf.type = 'text/javascript';
wf.async = 'true';
var s = document.getElementsByTagName('script')[0];
s.parentNode.insertBefore(wf, s);
})();
//Maintenance Message
// function myFunction(arr) {
// var out = "";
// var i;
// for(i = 0; i