document.write('<style type="text/css">.jsshow { display: block; } .jshide { display: none; }</style>');

var MAGASIN = {
  vars: {
    ie: false
  },
  init: function() {
		if($.browser.msie) {
		  MAGASIN.vars.ie = parseInt($.browser.version, 10);
		}
		if (this.vars.ie && this.vars.ie <= 6) {
		  $('div.mFashionSelector li').bind('mouseenter mouseleave', function() { $(this).toggleClass('hover'); });
		}
    
    this.footer.init();
  },
  footer: {
    init: function() {
      var height = 0;
      $('div.mFooter > ul > li').each(function() {
        var $li = $(this);
        liHeight = $li.height();
        height = liHeight > height ? liHeight : height;
        
        if(MAGASIN.vars.ie === 6) {
          $li.bind('mouseenter mouseleave', function() { $(this).toggleClass('hover'); });
        }
      }).each(function() {
        $(this).height(height);
      });
    }
  }
}

$(function() {
  MAGASIN.init();
});
