﻿


//Home Page
var isMobile;// = '<%= IsMobile %>';
jQuery(document).ready(function() {
    var IE6 = /msie|MSIE 6/.test(navigator.userAgent);

    //news carousel
    var url = getLeaf(document.location.href);

    //slider
    if (typeof accordionSetup == 'function')
        accordionSetup();

    if (typeof setUpHmNews == 'function')
        setUpHmNews();
    //emergency
    if (jQuery("#eCar").length > 0)
        setupEmergency();

    //highlight
    if (typeof setUpHighlights == 'function')
        setUpHighlights();
    if (typeof acdPostLoader == 'function')
        acdPostLoader();
    //navi
    setUpNavi();
    if (typeof current == "string") {
        if (!highlightMenuItem(current))
            LinkItHL(pageid);
    }
    if (typeof ImgSlidePostLoaderHm == 'function') {
        ImgSlidePostLoaderHm();
    }
    //alert($("div.trumba").length);
    //	var html = $("div.trumba").html();
    //	$("div.trumba").html("<script type=\"text/javascript\">" + html + "</script>");
    //if (isMobile == "true")

});

//alert(jQuery(".half").css("width"));
//alert(jQuery("#fyi").css("width"));