var $ = jQuery.noConflict();

$(document).ready(function () {
	if($ != undefined){
		if ($.browser.msie && $.browser.version < 7) return; // Don't execute code if it's IE6 or below cause it doesn't support it.
	
		$(".fade").fadeTo(1, 1);
		$(".fade").hover(
			function () {
			  $(this).fadeTo("fast", 0.33);
			},
			function () {
			  $(this).fadeTo("slow", 1);
			}
		);
	}
});

var $ = jQuery.noConflict();
$(document).ready(function(){
	if($ != undefined){
		$("#ts-display a[rel^=\'prettyPhoto\']").prettyPhoto({theme:'facebook'});
	}
});
