﻿
function brandnavigationover(obj) {
    obj.style.backgroundImage = 'url(images/brand_navigation_over.gif)';
    obj.style.width = '86px';
    obj.style.height = '26px';
    obj.firstChild.style.textDecoration = 'none';
    obj.firstChild.style.color = '#fffefe';
    obj.style.fontWeight = 'bold';
}
function brandnavigationout(obj) {
    obj.style.backgroundImage = 'url(images/brand_navigation_out.gif)';
    obj.style.width = '86px';
    obj.style.height = '26px';
    obj.firstChild.style.textDecoration = 'none';
    obj.firstChild.style.color = '#505050';
    obj.style.fontWeight = 'normal';
}

function brandindexmenuover(menuname, mid, mlength, classname) {
    for (var i = 1; i <= mlength; i++) {
        if (i == mid) {
            $(menuname + "_title" + i).className = classname + 1;
            $(menuname + "_content" + i).style.display = "block";
        }
        else {
            $(menuname + "_title" + i).className = classname + 2;
            $(menuname + "_content" + i).style.display = "none";
        }
    }
}

function brandcenternavigationover(obj) {
    obj.style.backgroundImage = 'url(images/category_over.gif)';
    obj.style.width = '88px';
    obj.style.height = '31px';
    obj.firstChild.style.textDecoration = 'none';
    obj.firstChild.style.color = '#be3333';
    obj.style.fontWeight = 'bold';
}
function brandcenternavigationout(obj) {
    obj.style.backgroundImage = 'url(images/category_off.gif)';
    obj.style.width = '83px';
    obj.style.height = '31px';
    obj.firstChild.style.textDecoration = 'none';
    obj.firstChild.style.color = '#6a6a6a';
    obj.style.fontWeight = 'normal';
}
function mrnewsover(obj) {

    obj.firstChild.style.color = '#a2a2a3';
}
function mrnewsout(obj) {

    obj.firstChild.style.color = '#386e97';
}
function defalfover(obj) {

    obj.firstChild.style.color = '#b22b98';
    obj.style.fontWeight = 'bold';
}
function defalfout(obj) {

    obj.firstChild.style.color = '#575757';
    obj.style.fontWeight = 'normal';
}
function defarhover(obj) {

    obj.firstChild.style.color = '#a448e5';
    obj.style.fontWeight = 'bold';
}
function defarhout(obj) {

    obj.firstChild.style.color = '#515151';
    obj.style.fontWeight = 'normal';
}





