//The following code is for Internet Explorer 6
var isIE6 = false;
var topNavTopRef = -1; 
$(document).ready(function() {
    try {
        var strikes = 0; 
        jQuery.each(jQuery.browser, function(i, val) {
            if (i == 'msie' && val == true) { strikes++; }
            if (i == 'version' && val.substring(0, 1) == '6') { strikes++; }
        });
        if (strikes == 2) { isIE6 = true; }
        if (topNavTopRef == -1) { topNavTopRef = $('#topNav').offset().top; }
        if (isIE6) { $('.topz > li > ul').css({ 'margin-top': '34px' }); }
        if (isIE6) { $('.contentSection').css({ 'padding': '2px' }); }
        if (isIE6) { $('.overlayContainer').supersleight(); }
        if (isIE6) { $('.invalidStep').supersleight(); }
        if (isIE6) { $('#BlindColorSelectImg').supersleight(); }
        if (isIE6) { $('#currentActionItems').css({ 'width': '550px' }); }
        if (isIE6) {
            $('#sampleCartRegion').css({ 'width': '180px' });
            $('#sampleCartRegion div').css({ 'width': '180px' });
            $('#submitBlock').css({ 'padding': '4px' });
            $('#continueBlock').css({ 'padding': '4px' });
        }
        if (isIE6) {

            $('.catLiStImage').css({ 'width': '340px' });
            $('.catLiStImage img').css({ 'width': '340px' });
        }
    } catch (e) {
        
    }
    $('.topz > li').mouseover(function() {
        if (isIE6) { $(this).find('ul').show(); }
    });
    $('.topz > li').mouseout(function() {
        if (isIE6) { $(this).find('ul').hide(); }
    });
})
