/*
*************************************************************
**
**  ITEC.js
**  Created by: TJ O'Connor
**  Description: This function is called from a JSONP, and creates a dropdown menu with the HTML response
**  JSON Widget: <script type='text/javascript' src='http://cms.crosstechpartners.com/_Widget.ashx?Group=CTP&RSS=C-686ec296-f043-46af-98aa-2a384ac77bd4&XSL=ITEC2010_EventsNav&Items=&Tags=&Date=&json=OnLoadComplete'></script>
**  Prerequisites: jQuery, qTip
**
*************************************************************
*/
function OnLoadComplete(dropHTML) {
    
    // Setup qTip Dropdown
    $('#main-nav li.summits a').qtip({
        content: dropHTML,
        position: {
            corner: {
                target: 'bottomLeft'
            }
        },
        hide: {
            fixed: true // Make it fixed so it can be hovered over
        },
        style: {
            margin: 0,
            border: 0,
            width: 260,
            padding: 0,
            name: 'dark' // Inherit from preset style
        }
    });
}


