
var $j = jQuery.noConflict();

/* HOVER MENU */
var menu_timerID = 0;
// delay fade off effect for overlay in case user goes from li to li
var overlay_delay = 250;
function fadeOverlay() {
    $j('#overlay').fadeOut('fast');    
}

var submenu_hover_sensitivity = 50;
var submenu_hover_interval = 40; // the interval cannot be shorter than the timeout; if it is set longer than the timeout, it overrides the timeout
var submenu_hover_timeout = 40; // the timeout cannot be shorter than the interval but it can be longer than the interval.
//var active_color = '#f5f5f5';  //red
var act_col = '#3d3d3d';
var inact_col = '#9c9c9c';
var back_pos = '0 100%';
var back_rpt = 'repeat-y';
var active_normalimg = 'url(../images/menu/normalBG.jpg)';
var active_hoverimg = 'url(../images/menu/hoverBG.jpg)';
var active_longnormalimg = 'url(../images/menu/long_normalBG.jpg)';
var active_longhoverimg = 'url(../images/menu/long_hoverBG.jpg)';

//images position of main links 
var img_float ='right';
var img_txtalign = 'center';
var img_background_image ='url(../images/menu/arrow_up2.jpg)';
var img_background_Nposition='0 0';
var img_background_Hposition ='-14px 0';
var img_background_repeat = 'no-repeat';
//var active_border = active_color + ' 1px solid';
//var inactive_color = '#cdcdcd'; // 'orange'; //this is where the side bslinks inactive color is changing -background image has to be set here pchalla
//var inactive_border = '#b1b1b1 1px solid';

/* SUB MENUS */
$j(function () {
    /* show bsEntPnl and hide other panels */
    $j('#bsMobPnl').hide();
    $j('#bsDevPnl').hide();
    $j('#bsSBPnl').hide();
    $j('#bsEntPnl').show();

    /* Enterprise */
    var hoverIntent_config_bsEnt =
    {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#bsEntPnl').show();
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#bsMobPnl').hide();
            $j('#bsDevPnl').hide();
            $j('#bsSBPnl').hide();

            $j('#bsMob').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsDev').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsSB').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            //thsi will basically keep the parent link text selected when browsing child links
            $j('#bsEnt p.lnkTitle').css('color', act_col);
            $j('#bsMob p.lnkTitle').css('color', inact_col);
            $j('#bsDev p.lnkTitle').css('color', inact_col);
            $j('#bsSB p.lnkTitle').css('color', inact_col);

            $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');       
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsEnt p.lnkTitle').css('color', act_col); //thsi will basically keep the parent link text selected when browsing child links
            $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
        }
    };
    $j('#bsEnt').css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsEnt p.lnkTitle').css('color', inact_col); //thsi will basically keep the parent link text selected when browsing child links
    $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
    $j('#bsEnt').hoverIntent(hoverIntent_config_bsEnt);

    /* Mobile Operators */
    var hoverIntent_config_bsMob = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#bsMobPnl').show();
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#bsEntPnl').hide();
            $j('#bsDevPnl').hide();
            $j('#bsSBPnl').hide();

            $j('#bsEnt').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsDev').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsSB').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            //thsi will basically keep the parent link text selected when browsing child links
            $j('#bsEnt p.lnkTitle').css('color', inact_col);
            $j('#bsMob p.lnkTitle').css('color', act_col);
            $j('#bsDev p.lnkTitle').css('color', inact_col);
            $j('#bsSB p.lnkTitle').css('color', inact_col);

            $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsMob p.lnkTitle').css('color', act_col); //thsi will basically keep the parent link text selected when browsing child links
            $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
        }
    };
    $j('#bsMob').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsMob p.lnkTitle').css('color', inact_col); //thsi will basically keep the parent link text selected when browsing child links
    $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
    $j('#bsMob').hoverIntent(hoverIntent_config_bsMob);

    /* Device Manufacturers */
    var hoverIntent_config_bsDev = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#bsDevPnl').show();
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#bsEntPnl').hide();
            $j('#bsMobPnl').hide();
            $j('#bsSBPnl').hide();

            $j('#bsEnt').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsMob').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsSB').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            //this will basically keep the parent link text selected when browsing child links
            $j('#bsEnt p.lnkTitle').css('color', inact_col);
            $j('#bsMob p.lnkTitle').css('color', inact_col);
            $j('#bsDev p.lnkTitle').css('color', act_col);
            $j('#bsSB p.lnkTitle').css('color', inact_col);

            $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsDev p.lnkTitle').css('color', act_col); //this will basically keep the parent link text selected when browsing child links
            $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');         
        }
    };
    $j('#bsDev').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsDev p.lnkTitle').css('color', inact_col); //this will basically keep the parent link text selected when browsing child links
    $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
    $j('#bsDev').hoverIntent(hoverIntent_config_bsDev);

    /* Small Business */
    var hoverIntent_config_bsSB = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#bsSBPnl').show();
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#bsEntPnl').hide();
            $j('#bsDevPnl').hide();
            $j('#bsMobPnl').hide();
            $j('#bsEnt').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsMob').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsDev').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            //thsi will basically keep the parent link text selected when browsing child links
            $j('#bsEnt p.lnkTitle').css('color', inact_col);
            $j('#bsMob p.lnkTitle').css('color', inact_col);
            $j('#bsDev p.lnkTitle').css('color', inact_col);
            $j('#bsSB p.lnkTitle').css('color', act_col);

            $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#bsSB p.lnkTitle').css('color', act_col); //thsi will basically keep the parent link text selected when browsing child links
            $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
            $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
        }
    };
    $j('#bsSB').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsSB p.lnkTitle').css('color', inact_col); //thsi will basically keep the parent link text selected when browsing child links
    $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
    $j('#bsSB').hoverIntent(hoverIntent_config_bsSB);
});



/*************** PRODUCTS **************/

$j(function ()
{
    /* show prCSPnl and hide other panels */
    $j('#prComPnl').hide();
    $j('#prSDPnl').hide();
    $j('#prCFPnl').hide();
    $j('#prCPPnl').hide();
    $j('#prCSPnl').show();
    
    /* Connectivity & Security */
    var hoverIntent_config_prCS = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#prCSPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#prComPnl').hide();
            $j('#prSDPnl').hide();
            $j('#prCFPnl').hide();
            $j('#prCPPnl').hide();
            $j('#prCom').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prSD').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCF').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCP').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            
            //this will highlight the main link when child link is selected
            $j('#prCS p.lnkTitle').css('color', act_col);
            $j('#prCom p.lnkTitle').css('color', inact_col);
            $j('#prSD p.lnkTitle').css('color', inact_col);
            $j('#prCF p.lnkTitle').css('color', inact_col);
            $j('#prCP p.lnkTitle').css('color', inact_col);
            $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);            
            $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            
        },
        timeout: submenu_hover_timeout,
        out: function () 
        {      
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCS p.lnkTitle').css('color', act_col);
            $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);                   
        }
    };    
    $j('#prCS').css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCS p.lnkTitle').css('color', inact_col);
    $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);            
    $j('#prCS').hoverIntent(hoverIntent_config_prCS);

    /* Communications */
    var hoverIntent_config_prCom = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#prComPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#prCSPnl').hide();
            $j('#prSDPnl').hide();
            $j('#prCFPnl').hide();
            $j('#prCPPnl').hide();
            $j('#prCS').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prSD').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCF').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCP').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            //this will highlight the main link when child link is selected
            $j('#prCS p.lnkTitle').css('color', inact_col);
            $j('#prCom p.lnkTitle').css('color', act_col);
            $j('#prSD p.lnkTitle').css('color', inact_col);
            $j('#prCF p.lnkTitle').css('color', inact_col);
            $j('#prCP p.lnkTitle').css('color', inact_col);
            $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
                       
        },
        timeout: submenu_hover_timeout,
        out: function () 
        {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCom p.lnkTitle').css('color', act_col);
            $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#prCom').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCom p.lnkTitle').css('color', inact_col);
    $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prCom').hoverIntent(hoverIntent_config_prCom);

    /* Servers & Device Mannagement */
    var hoverIntent_config_prSD = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#prSDPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            
            $j('#prCSPnl').hide();
            $j('#prComPnl').hide();
            $j('#prCFPnl').hide();
            $j('#prCPPnl').hide();
            $j('#prCS').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCom').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCF').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCP').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            //this will highlight the main link when child link is selected
            $j('#prCS p.lnkTitle').css('color', inact_col);
            $j('#prCom p.lnkTitle').css('color', inact_col);
            $j('#prSD p.lnkTitle').css('color', act_col);
            $j('#prCF p.lnkTitle').css('color', inact_col);
            $j('#prCP p.lnkTitle').css('color', inact_col);
            $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
               
        },
        timeout: submenu_hover_timeout,
        out: function () 
        {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prSD p.lnkTitle').css('color', act_col);
            $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#prSD').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prSD p.lnkTitle').css('color', inact_col);
    $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prSD').hoverIntent(hoverIntent_config_prSD);

    /* Content & File Management */
    var hoverIntent_config_prCF = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () 
        {
            $j('#prCFPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#prCSPnl').hide();
            $j('#prComPnl').hide();
            $j('#prSDPnl').hide();
            $j('#prCPPnl').hide();

            $j('#prCS').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCom').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prSD').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCP').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            //this will highlight the main link when child link is selected
            $j('#prCS p.lnkTitle').css('color', inact_col);
            $j('#prCom p.lnkTitle').css('color', inact_col);
            $j('#prSD p.lnkTitle').css('color', inact_col);
            $j('#prCF p.lnkTitle').css('color', act_col);
            $j('#prCP p.lnkTitle').css('color', inact_col);
            $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
      
        },
        timeout: submenu_hover_timeout,
        out: function () 
        {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCF p.lnkTitle').css('color', act_col);
            $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#prCF').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCF p.lnkTitle').css('color', inact_col);
    $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prCF').hoverIntent(hoverIntent_config_prCF);

    /* Consumer Products */
    var hoverIntent_config_prCP = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#prCPPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#prCSPnl').hide();
            $j('#prComPnl').hide();
            $j('#prSDPnl').hide();
            $j('#prCFPnl').hide();
            $j('#prCS').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCom').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prSD').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCF').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            //this will highlight the main link when child link is selected
            $j('#prCS p.lnkTitle').css('color', inact_col);
            $j('#prCom p.lnkTitle').css('color', inact_col);
            $j('#prSD p.lnkTitle').css('color', inact_col);
            $j('#prCF p.lnkTitle').css('color', inact_col);
            $j('#prCP p.lnkTitle').css('color', act_col);
            $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
    
        },
        timeout: submenu_hover_timeout,
        out: function () 
        {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#prCP p.lnkTitle').css('color', act_col);
            $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#prCP').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCP p.lnkTitle').css('color', inact_col);
    $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prCP').hoverIntent(hoverIntent_config_prCP);
});


/************** STORE ************/
$j(function () {
    /* show stStuPnl and hide other panels */
    $j('#stPosPnl').hide();
    $j('#stAniPnl').hide();
    $j('#stManPnl').hide();
    $j('#stAllPnl').hide();
    $j('#stStuPnl').show();

    /* StuffIt */
    var hoverIntent_config_prStu = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#stStuPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stPosPnl').hide();
            $j('#stAniPnl').hide();
            $j('#stManPnl').hide();
            $j('#stAllPnl').hide();
            $j('#stPos').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAni').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stMan').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAll').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stStu p.lnkTitle').css('color', act_col);
            $j('#stPos p.lnkTitle').css('color', inact_col);
            $j('#stAni p.lnkTitle').css('color', inact_col);
            $j('#stMan p.lnkTitle').css('color', inact_col);
            $j('#stAll p.lnkTitle').css('color', inact_col);
            $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
           
                       
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stStu p.lnkTitle').css('color', act_col);
            $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
        };
    $j('#stStu').css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stStu p.lnkTitle').css('color', inact_col);
    $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stStu').hoverIntent(hoverIntent_config_prStu);

    /* Poser */
    var hoverIntent_config_prPos = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#stPosPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stStuPnl').hide();
            $j('#stAniPnl').hide();
            $j('#stManPnl').hide();
            $j('#stAllPnl').hide();

            $j('#stStu').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAni').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stMan').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAll').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);


            $j('#stStu p.lnkTitle').css('color', inact_col);
            $j('#stPos p.lnkTitle').css('color', act_col);
            $j('#stAni p.lnkTitle').css('color', inact_col);
            $j('#stMan p.lnkTitle').css('color', inact_col);
            $j('#stAll p.lnkTitle').css('color', inact_col);
            $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
        
                       
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stPos p.lnkTitle').css('color', act_col);
            $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#stPos').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stPos p.lnkTitle').css('color', inact_col);
    $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stPos').hoverIntent(hoverIntent_config_prPos);

    /* Anime Studio */
    var hoverIntent_config_prAni = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#stAniPnl').show();            
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stPosPnl').hide();
            $j('#stStuPnl').hide();
            $j('#stManPnl').hide();
            $j('#stAllPnl').hide();

            $j('#stPos').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stStu').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stMan').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAll').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stStu p.lnkTitle').css('color', inact_col);
            $j('#stPos p.lnkTitle').css('color', inact_col);
            $j('#stAni p.lnkTitle').css('color', act_col);
            $j('#stMan p.lnkTitle').css('color', inact_col);
            $j('#stAll p.lnkTitle').css('color', inact_col);
            $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
               
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAni p.lnkTitle').css('color', act_col);
            $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#stAni').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stAni p.lnkTitle').css('color', inact_col);
    $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stAni').hoverIntent(hoverIntent_config_prAni);


    /* Manga Studio */
    var hoverIntent_config_prMan = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#stManPnl').show();      
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stPosPnl').hide();
            $j('#stStuPnl').hide();
            $j('#stAniPnl').hide();
            $j('#stAllPnl').hide();

            $j('#stPos').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stStu').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAni').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAll').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stStu p.lnkTitle').css('color', inact_col);
            $j('#stPos p.lnkTitle').css('color', inact_col);
            $j('#stAni p.lnkTitle').css('color', inact_col);
            $j('#stMan p.lnkTitle').css('color', act_col);
            $j('#stAll p.lnkTitle').css('color', inact_col);
            $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
            $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
                    
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stMan p.lnkTitle').css('color', act_col);
            $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#stMan').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stMan p.lnkTitle').css('color', inact_col);
    $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stMan').hoverIntent(hoverIntent_config_prMan);

    /* All Products */
    var hoverIntent_config_prMan = {
        sensitivity: submenu_hover_sensitivity,
        interval: submenu_hover_interval,
        over: function () {
            $j('#stAllPnl').show()      
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

            $j('#stPosPnl').hide();
            $j('#stStuPnl').hide();
            $j('#stAniPnl').hide();
            $j('#stManPnl').hide();

            $j('#stPos').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stStu').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAni').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stMan').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    
            $j('#stStu p.lnkTitle').css('color', inact_col);
            $j('#stPos p.lnkTitle').css('color', inact_col);
            $j('#stAni p.lnkTitle').css('color', inact_col);
            $j('#stMan p.lnkTitle').css('color', inact_col);
            $j('#stAll p.lnkTitle').css('color', act_col);
            $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
            $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
    
                        
        },
        timeout: submenu_hover_timeout,
        out: function () {
            $j(this).css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
            $j('#stAll p.lnkTitle').css('color', act_col);
            $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
        }
    };
    $j('#stAll').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stAll p.lnkTitle').css('color', inact_col);
    $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stAll').hoverIntent(hoverIntent_config_prMan);
});

/************** SUPPORT ************/

$j(function () {
    $j('#suPnl div li#ss1').mouseover(function () {        
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss2').mouseover(function () {        
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss3').mouseover(function () {        
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss4').mouseover(function () {        
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss5').mouseover(function () {        
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss6').mouseover(function () {        
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss1').mouseout(function () {        
        $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss2').mouseout(function () {        
        $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss3').mouseout(function () {        
        $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss4').mouseout(function () {        
        $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss5').mouseout(function () {        
        $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#suPnl div li#ss6').mouseout(function () {        
        $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });

});

/************** ABOUT ************/

$j(function () 
{
    $j('#abPnl div li#aa1').mouseover(function () 
    {       
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#abPnl div li#aa2').mouseover(function () {
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#abPnl div li#aa3').mouseover(function () {
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#abPnl div li#aa4').mouseover(function () {
        $j(this).css('background-image', active_longhoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });


    $j('#abPnl div li#aa1').mouseout(function () 
    {
         $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#abPnl div li#aa2').mouseout(function () {
         $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#abPnl div li#aa3').mouseout(function () {
         $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
    $j('#abPnl div li#aa4').mouseout(function () {
         $j(this).css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    });
});


/* RESET */
function resetBusSol() {
    /* show bsEntPnl and hide other panels */
    $j('#bsMobPnl').hide();
    $j('#bsDevPnl').hide();
    $j('#bsSBPnl').hide();
    $j('#bsEntPnl').show();
    $j('#bsMob').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsDev').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsSB').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#bsEnt').css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    
    $j('#bsEnt p.lnkTitle').css('color', act_col);
    $j('#bsMob p.lnkTitle').css('color', inact_col);
    $j('#bsDev p.lnkTitle').css('color', inact_col);
    $j('#bsSB p.lnkTitle').css('color', inact_col);
    $j('#bsEnt  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
    $j('#bsMob  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#bsDev  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#bsSB  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);

    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsDevPnl a.ul').css('padding-left', '12px');
    $j('.ie7 .menu .li_hover #dropdown_fullwidth_first #bsPanels #bsMobPnl a.ul').css('padding-left', '12px');
}

function resetProd() {
    /* show prCSPnl and hide other panels */
    $j('#prComPnl').hide();
    $j('#prSDPnl').hide();
    $j('#prCFPnl').hide();
    $j('#prCPPnl').hide();
    $j('#prCSPnl').show();
    
    $j('#prCom').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prSD').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCF').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCP').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#prCS').css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

    $j('#prCom p.lnkTitle').css('color', inact_col);
    $j('#prSD p.lnkTitle').css('color', inact_col);
    $j('#prCF p.lnkTitle').css('color', inact_col);
    $j('#prCP p.lnkTitle').css('color', inact_col);
    $j('#prCS p.lnkTitle').css('color', act_col);    
    $j('#prCom  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prSD  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prCF  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prCP  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#prCS  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
}

function resetStore() {
    /* show stStuPnl and hide other panels */
    $j('#stPosPnl').hide();
    $j('#stAniPnl').hide();
    $j('#stManPnl').hide();
    $j('#stAllPnl').hide();
    $j('#stStuPnl').show();

    $j('#stPos').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stAni').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stMan').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stAll').css('background-image', active_normalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#stStu').css('background-image', active_hoverimg).css('background-position', back_pos).css('background-repeat', back_rpt);

    $j('#stPos p.lnkTitle').css('color', inact_col);
    $j('#stAni p.lnkTitle').css('color', inact_col);
    $j('#stMan p.lnkTitle').css('color', inact_col);
    $j('#stAll p.lnkTitle').css('color', inact_col);
    $j('#stStu p.lnkTitle').css('color', act_col);
    $j('#stPos  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stAni  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stMan  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stAll  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Nposition).css('background-repeat', img_background_repeat);
    $j('#stStu  img').css('float', img_float).css('text-align', img_txtalign).css('background-image', img_background_image).css('background-position', img_background_Hposition).css('background-repeat', img_background_repeat);
}

function resetSupport() {
    $j('#suPnl').show();

    $j('#suPnl div li#ss1').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);    
    $j('#suPnl div li#ss2').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);    
    $j('#suPnl div li#ss3').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);    
    $j('#suPnl div li#ss4').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);    
    $j('#suPnl div li#ss5').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);    
    $j('#suPnl div li#ss6').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);     
}

function resetAbout() {
    $j('#abPnl').show();

    $j('#abPnl div li#aa1').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#abPnl div li#aa2').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#abPnl div li#aa3').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
    $j('#abPnl div li#aa4').css('background-image', active_longnormalimg).css('background-position', back_pos).css('background-repeat', back_rpt);
}

function resetSubMenus() {
    resetBusSol();
    resetProd();
    resetStore();
    resetSupport();
    resetAbout();
}






