function sbar1 (st) { st.style.backgroundColor = '#EEF9FF'; }
function cbar1 (st) { st.style.backgroundColor = ''; }

function sbar2 (st) { st.style.backgroundColor = '#F6F6F6'; }
function cbar2 (st) { st.style.backgroundColor = ''; }

function sbar3 (st) { st.style.backgroundColor = '#F0FDE9'; }
function cbar3 (st) { st.style.backgroundColor = ''; }

function sbar4 (st) { st.style.backgroundColor = '#FFF6E3'; }
function cbar4 (st) { st.style.backgroundColor = ''; }

function sbar5 (st) { st.style.backgroundColor = '#FDF2F7'; }
function cbar5 (st) { st.style.backgroundColor = ''; }

                function productselection(parent,cat,prod) {
                    //alert('.');
                    var target
                    
                     if(cat==0) 
                     {
                         alert('Please Select Product');
                         return false;
                     }
                    location.href = parent+'&pid='+cat;
                }
                
                    function funShowNews(numID){
    var objNewsDiv    = document.getElementById("divNews").getElementsByTagName("div");
    for (intI = 0; intI < 5; intI++){
        if (numID==intI){
            objNewsDiv[intI].style.display = "";
        } else {
            objNewsDiv[intI].style.display = "none";
        }
        
    }
}

$(function(){
    //Navigation       
    $('.navTitle').hover(function(){
        var _this = $(this),
            _subnav = _this.children('ul');
 
        _this.addClass("navActive");
        _subnav.css('display', 'block');
    } , function(){
        $(this).removeClass("navActive").children('ul').css('display', 'none');
    });
    
    //Language and Country
    $("#Langmenu li").hover(function(){
        var _this = $(this),
        _LangMenuNav = _this.children("ul");
        _LangMenuNav.stop(true, true).fadeIn(400);
        }, function(){
            $(this).children("ul").stop(true, true).fadeOut(400);
            });

    return false;
 
    $('a').focus(function(){
        this.blur();
    });
});
