/*
 *	jquery.easyRotate 1.0 - 3-11-2010
 * author: Jordan Andree (jordan@noblegiant.com)
 * http://noblegiant.com
 *
 *	Written to ease the implementation of element rotation for cross-browser support
 *	Feel free to do whatever you want with this file
 *
 */
(function($){$.fn.extend({easyRotate:function(options){var defaults={degrees:0};var options=$.extend(defaults,options);return this.each(function(){var obj=this;var deg=options.degrees;var deg2radians=Math.PI*2/360;var rad=deg*deg2radians;var costheta=Math.cos(rad);var sintheta=Math.sin(rad);var a=parseFloat(costheta).toFixed(8);var c=parseFloat(-sintheta).toFixed(8);var b=parseFloat(sintheta).toFixed(8);var d=parseFloat(costheta).toFixed(8);var matrix="matrix("+a+", "+b+", "+c+", "+d+", 0, 0);";if(obj.filters){obj.style.filter="progid:DXImageTransform.Microsoft.Matrix(sizingMethod='auto expand');";obj.filters.item(0).M11=costheta;obj.filters.item(0).M12=-sintheta;obj.filters.item(0).M21=sintheta;obj.filters.item(0).M22=costheta}else{obj.setAttribute("style","position:absolute; -moz-transform:  "+matrix+"; -webkit-transform:  "+matrix+"; -o-transform: "+matrix+"")}})}})})(jQuery);

jQuery('#ribbon span').easyRotate({degrees: 45});

