//IE font-face ClearType fix - V0.1
//Authord by Michael Strand of Allcreatives.net
//Usage, changes, FAQ etc. see - http://allcreatives.net/2009/12/05/jquery-plugin-ie-font-face-cleartype-fix/
//The IE font-face ClearType fix plugin is dual licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) and 
//[GPL](http://www.opensource.org/licenses/gpl-license.php) licenses.

//There is one configuration setting to be changed below if you have the PNG image in different location from this file.

(function($) 
{
    $.fn.ieffembedfix = function() 
    {

        var pngimgurl = "/gfx/hIEfix.png";

        return this.each(
                function() 
                {

                    // check for IE7/8
                    if (jQuery.browser.msie && (jQuery.browser.version == 7 || jQuery.browser.version == 8)) 
                    {
                        $(this).css(
                                {
                                    filter: 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src=' + pngimgurl + ',sizingMethod=crop',
                                    zoom: '1'
                                }
                        );
                    }
                }
        );
    };
})(jQuery);
