// Fire up jQuery

$(document).ready(function(){

	$("#left p:last").addClass("last");

	//Open external links in a new window (yuck, oh well)

	$("a[href*='http://']:not([href*='"+location.hostname+"'])").attr("target","_blank");

	$("a[href*='https://']:not([href*='"+location.hostname+"'])").attr("target","_blank");
	
		$("input.text").focus(function() {
		if( this.value == this.defaultValue ) {
			this.value = "";
		}
	}).blur(function() {
		if( !this.value.length ) {
			this.value = this.defaultValue;
		}
	});
		
		$(".popup").popup({
		    width: 270,
		    height: 200,
		    titlebar: false,
		    status: false,
		    resizable: true,
		    toolbar: false,
		    scrollbars: false,
		    menubar: false
		});
		
});