﻿
/*

    SCRIPT USED TO SET THE INACTIVE ITEMS IN SUB NAVIGATION TO DISPLAY COMING SOON
    
*/


$(document).ready(function() {

    var items = $('.leftCol ul li a').filter(function() {//Get reference to all sub nav items and filter the links with a proper url out
        var s = $(this).attr('href');
        if (s.length > 0 && s.split('/').length > 0 && s.split('/')[s.split('/').length - 1] == '#') {//If url is irregular keep this link
            return true;
        } else {
            return false;
        }
    }).each(function() {//Loop through the list of filtered links
        $(this).addClass('soon');//Add a class of 'soon'
    }).click(function($e){$e.preventDefault();});//Attach click event in order to prevent default action
});
