$(function(){
	$('#feature-main').cycle({ 
		fx:     'fade', 
		speed:  500, 
		timeout: 6000, 
		pager:  '#nav', 
		pagerAnchorBuilder: function(idx, slide) { 
			// return selector string for existing anchor 
			return '#nav li:eq(' + idx + ') a'; 
		}
	});
});
$('.txtField').each(function() {
	var default_value = this.value;
	$(this).focus(function() {
		if(this.value == default_value) {
			this.value = '';
		}
	});
	$(this).blur(function() {
		if(this.value == '') {
			this.value = default_value;
		}
	});
});
