// JavaScript Document



$(document).ready(function(e) {
   
	$('input:text').focus(function(){
	if($(this).val() == $(this).attr('defaultValue')){
			$(this).val('');
			$(this).addClass('blacktext');
		}
	});
	
	$('input:text').blur(function(){
		if($(this).val() == ''){
			$(this).val($(this).attr('defaultValue'));
			$(this).removeClass('blacktext');
		}
	});
	
	var w = $(document).width();
	
	var nw = w / 2 + 540;
	
	$('#purpleband').css('width',nw+'px');
	
});

$(window).resize(function(){
	var w = $(document).width();
	
	var nw = w / 2 + 540;
	
	$('#purpleband').css('width',nw+'px');
});


