/*
* jQuery IE6 hover support plug-in v1.0.1
* Add support for the :hover CSS pseudo-selector to IE6
*
* @requires jQuery v1.3 or later
*
* Copyright (c) 2010 Gilmore Davidson
*
* Licensed under the MIT license:
* http://www.opensource.org/licenses/mit-license.php
*/
(function(a){a.extend({ie6hover:function(l){if(!a.browser.msie||a.browser.version!="6.0"){return}var n="hover-ie6",g=l===true?"live":"bind",s=/^1\.[4-9]/.test(a.fn.jquery),h=s||!l?"mouseenter":"mouseover",b=s||!l?"mouseleave":"mouseout",f=document.styleSheets,v=/:hover\b/g,u=/\ba:hover\b/ig,c=[],q,p,r,w,d,m,k,o;if(!f.length){return}for(q=0,w=f.length;q<w;q++){d=f[q];try{m=d.rules}catch(t){continue}for(p=0,r=m.length;p<r;p++){k=m[p];o=k.selectorText;if(v.test(o)&&!u.test(o)){c.push(o.replace(v,""));o=o.replace(v,"."+n);d.addRule(o,k.style.cssText,p);p++;r++}}}if(c.length){if(c.length>1){c=(function(x){for(var y=[],z={},j=0,e=x.length,A;j<e;j++){A=x[j];if(!z[A]){z[A]=true;y.push(A)}}return y})(c)}a(function(){a(c.join(","))[g](h,function(){a(this).addClass(n)})[g](b,function(){a(this).removeClass(n)})})}}})})(jQuery);