/**
	@author: Angel Kostadinov (develop.bg)
	@version: 1.0
	@copyright: 
	Free to use for commercial & non-comersial persposes. I really hate 
	this constant refuse of Microsoft, to solve this issue.
*/

(function($) 
{		
	jQuery.fn.pngFix = function(settings) 
	{
		return this.each( function() 
		{
			if (navigator.appName.toString().toLowerCase().indexOf('explorer') != -1)
			{
				$(this).attr('writing-mode', 'tb-rl');
				$(this).css('background-image', 'none');
				$(this).css('filter','progid:DXImageTransform.Microsoft.AlphaImageLoader(src="' + getDomain() + '/templates/images/transparent.png",sizingMethod="scale")');
			}
		});
	};
})(jQuery);