eval(function(p,a,c,k,e,r){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)r[e(c)]=k[c]||e(c);k=[function(e){return r[e]}];e=function(){return'\\w+'};c=1};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p}('k $j=E.B();$j(z).x(l(){$j(\'1.4 1.8-y\').e();$j(\'1.t\').b();$j(\'1.i-D\').e();$j(\'1.i\').e();$j(\'1.v\').b();$j(\'1.4 1.7\').b();$j(\'1.4 1.A\').b();$j(\'1.4 1.c\').e();$j(\'1.4 1.u\').b();$j(\'1.4 6.3 5.t a\').g(\'8-9\');$j(\'1.4 6.3 5.u a\').g(\'8-9\');$j(\'1.i-h 6.i 5.v a\').g(\'8-9\');$j(\'1.4 6 5 a\').n(\'m\',\'r\');$j(\'1.i-h 6 5 a\').n(\'m\',\'r\');$j(\'#w 5 6 5 a\').n(\'m\',\'r\');$j(\'#C-w 5 6 5 a\').n(\'m\',\'r\');$j(\'.3-d 1.4 6.3 5 a\').q(l(){k a=f.p.o(0,2);$j(\'.3-d 1.4 1\').e();$j(\'.3-d 1.\'+a).b();$j(\'.3-d 1.4 6.3 5 a\').s(\'8-9\');$j(f).g(\'8-9\')});$j(\'#7-3 1.4 6.3 5 a\').q(l(){k a=f.p.o(0,2);$j(\'#7-3 1.4 1.c\').e();$j(\'#7-3 1.\'+a).b();$j(\'#7-3 1.4 6.3 5 a\').s(\'8-9\');$j(f).g(\'8-9\')});$j(\'#7-d-3 1.4 6.3 5 a\').q(l(){k a=f.p.o(0,2);$j(\'#7-d-3 1.4 1.c\').e();$j(\'#7-d-3 1.\'+a).b();$j(\'#7-d-3 1.4 6.3 5 a\').s(\'8-9\');$j(f).g(\'8-9\')});$j(\'#7-h-3 1.4 6.3 5 a\').q(l(){k a=f.p.o(0,2);$j(\'#7-h-3 1.4 1.c\').e();$j(\'#7-h-3 1.\'+a).b();$j(\'#7-h-3 1.4 6.3 5 a\').s(\'8-9\');$j(f).g(\'8-9\')})});',41,41,'|div||tabs|tabbed|li|ul|post|tab|current||show||block|hide|this|addClass|list|video||var|function|cursor|css|slice|className|click|pointer|removeClass|t1|c1|v1|nav|ready|content|document|entry|noConflict|sub|home|jQuery'.split('|'),0,{}))

sfHover = function() {
	var sfEls = document.getElementById("nav").getElementsByTagName("LI");
	for (var i=0; i<sfEls.length; i++) {
		sfEls[i].onmouseover=function() {
			this.className+=" sfhover";
		}
		sfEls[i].onmouseout=function() {
			this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
		}
	}
}
if (window.attachEvent) window.attachEvent("onload", sfHover);


function disableSelection(target){
if (typeof target.onselectstart!="undefined") //IE route
	target.onselectstart=function(){return false}
else if (typeof target.style.MozUserSelect!="undefined") //Firefox route
	target.style.MozUserSelect="none"
else //All other route (ie: Opera)
	target.onmousedown=function(){return false}
target.style.cursor = "default"
}


(function(jQuery) {
  jQuery.fn.getGravatar = function(options) {
    //debug(this);
    // build main options before element iteration
    var opts = jQuery.extend({}, jQuery.fn.getGravatar.defaults, options);
    // iterate and reformat each matched element
    return this.each(function() {
      jQuerythis = jQuery(this);
      // build element specific options
      var o = jQuery.meta ? jQuery.extend({}, opts, jQuerythis.data()) : opts;
			var t = "";
			//check to see if we're working with an text input first
      if(jQuerythis.is("input[type='text']")){
				//do an initial check of the value
				jQuery.fn.getGravatar.getUrl(o, jQuerythis.val());
				
				//do our ajax call for the MD5 hash every time a key is released
				jQuerythis.keyup(function(){
					clearTimeout(t);
					var email = jQuerythis.val();
					t = setTimeout(function(){jQuery.fn.getGravatar.getUrl(o, email);}, 500);
				});
			}
    });
  };
  //
  // define and expose our functions
  //
	jQuery.fn.getGravatar.getUrl = function(o, email){
		//call the start function if in use
		if(o.start) o.start(jQuerythis);
		
		jQuery.get(o.url, "email="+email, function(data){
			//when we have our MD5 hash, generate the gravatar URL
			var id = data.gravatar_id;
			var gravatar_url = "http://gravatar.com/avatar.php?gravatar_id="+id+"&default=monsterid&size="+o.avatarSize;
			//call our function to output the avatar to the container
     	jQuery.fn.getGravatar.output(o.avatarContainer, gravatar_url, o.stop);
		}, "json");
	}
  jQuery.fn.getGravatar.output = function(avatarContainer, gravatar_url, stop) {
		//replace the src of our avatar container with the gravatar url
		img = new Image();
		jQuery(img)
		.load(function(){
			jQuery(avatarContainer).attr("src", gravatar_url);
			if(stop) stop();
		})
		.attr("src", gravatar_url);
  };
  //
  // plugin defaults
  //
  jQuery.fn.getGravatar.defaults = {
   	url: 'get-gravatar.php',
    fallback: '',
		avatarSize: 50,
		avatarContainer: '#gravatar',
		start: null,
		stop: null
  };
})(jQuery);
