/*!
 * Juice @VERSION
 *
 * Copyright (c) 2009 AUTHORS.txt (http://shellscape.org/juice/about)
 * Dual licensed under the MIT (MIT-LICENSE.txt)
 * and GPL (GPL-LICENSE.txt) licenses.
 *
 */

var undefined;

(function($) {
	
	//http://paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/
	$(document).ready(function(){
		var klass = '', browser = $.browser;
		if(browser.msie){
			klass = 'juice-ie' + browser.version.major;
		}
		klass.length > 0 && $('body').removeClass(klass).addClass(klass);
	});
	
	//Scott G. is a genius. 
	$.support.paste = !!document.createElement('input').getAttributeNode('onpaste');
	
	$.unextend = function(target, label){
		var clone = {};
		$.extend(clone, target);
		for(var o in clone){
			if(o == label && typeof target[o] != 'undefined'){
				delete target[o];
			} 
		}
	};	
	
})(jQuery);
