$.fn.defuscate = function( settings ) {    settings = jQuery.extend({link: true}, settings);    var regex = /\b([A-Z0-9._%-]+)\([^)]+\)((?:[A-Z0-9-]+\.)+[A-Z]{2,6})\b/gi;    return this.each(function() {        if ( $(this).is('a[@href]') ) {            // If it's an <a> element, defuscate the href attribute            $(this).attr('href', $(this).attr('href').replace(regex, '$1@$2'));            // Make sure that the element's contents is not made into a link            var is_link = true;            //alert($(this).attr('href'));        }        // Defuscate the element's contents        $(this).html($(this).html().replace(regex, (settings.link && !is_link ? '<a href="mailto:$1@$2">$1@$2</a>' : '$1@$2')));  });};$(function() {	$('#Slideshow').cycle({ 		fx:      'scrollUp', 		speed:  700,		easing: "easeout",		timeout: 3000,		next:   '.next'	});		$('.next').css('cursor', 'pointer');		$('.tdet').click(function(){		if ($(this).text() == 'X')			$(this).text('Details').parent().parent().find('.thumbdetail').fadeOut('fast', function(){$(this).parent().parent().find('.thumbhover').animate({top: '315px', opacity: 0}, 100, function() {})});		else			$(this).text('X').parent().parent().find('.thumbhover').animate({top: '0', opacity: 1}, 100, function() {$(this).parent().parent().find('.thumbdetail').fadeIn('fast');});		return false;	});		$('input[name=email]').focus(function() {			if ($(this).val() == "Email Address") $(this).val("");		});			$('input[name=email]').blur(function() {			if ($(this).val() == "") $(this).val("Email Address");		});		$('.imagearea a[rel]').lightBox();	$('a[rel*=lightbox]').lightBox();		//$('.thumb:nth-child(3n)').addClass('tlast');		$('.vnav a').click(function() {		var current = $(this).attr('title');		$('.vnav a').each(function(n) {			var set = '#' + $(this).attr('title');			if ($(this).attr('title') == current) {				$(this).addClass('selector');				$(set).fadeIn();			} else {				$(this).removeClass('selector');				$(set).css('display','none');			}		});		return false;	});		$('.vnav a:last').click();		$('.obfuscated').defuscate();		$('#VidGal a').click(function() {		var code = $(this).attr('href');		var copy = '<a href="http://vimeo.com/'+code+'">'+$(this).attr('title')+'</a><br />Posted on '+$(this).attr('alt');		$('iframe').attr('src','http://player.vimeo.com/video/' + code);		$('.viddesc').html(copy);		return false;	});		$('.morelink a').click(function() {		if ($('.morelink img').attr('src') == 'images/btn_more.gif') {			$('#more').slideDown('fast');			$('.morelink img').attr('src','images/btn_less.gif');		} else {			$('#more').slideUp('fast');			$('.morelink img').attr('src','images/btn_more.gif');		}		return false;	});});function MM_jumpMenu(targ,selObj,restore){ //v3.0  eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'");  if (restore) selObj.selectedIndex=0;}
