	$(document).ready(function() {
							   
		$("ul.menu li").has("ul").prepend('<span class="parent">&darr;</span>');
		$(".sidebar").after('<div class="ie7">&nbsp;</div><span class="sidebar-fill">&nbsp;</span>');		
		$("ul.widgets li.widget-container:last").addClass('last');	   
		$(".widget_polls-widget ul").remove(":contains('Polls Archive')");
	
	
		$("input[type=text]").focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
		/*	
		
		$("#header ul.menu li:last-child").addClass('last');
		$("#footer ul.menu li:last-child").addClass('last');
		$(".brown").prepend('<div class="shadow">&nbsp;</div>');
		$("#container p.more").prepend('&raquo; ');
		$("#container ul.more li").prepend('&raquo; ');
		$("input[type='submit']").addClass('button');
		
		$("#container .button").wrap('<div class="button-base" />');
		$("#container .button").wrap('<div class="button-left" />');
		$("#container .button").wrap('<div class="button-right" />');
		
		$(".Buttons").wrap('<div class="button-base" />');
		$(".Buttons").wrap('<div class="button-left" />');
		$(".Buttons").wrap('<div class="button-right" />');
		
		// gets rid of empty tags
		$('p:empty').remove();
		$('li:empty').remove();
		$('ul:empty').remove();
		$('ol:empty').remove();
		
		// widens every 3rd entry on the profile page
		$("ul.profile-list li:nth-child(3n)").addClass('third');
		
		
		// modifies the recipe submission page
		$("select.recipe-categories option[value='30']").remove();
		$("dd.recipe-press-row-ingredients p").remove();
		$("dd.recipe-press-row-ingredients table th.recipe-press-header-sort img:first-child").remove();
		$("dd.form-submit input").addClass('button');
		
	
		$(".search input.search-input").focus(function() {
			if( this.value == this.defaultValue ) {
				this.value = "";
			}
		}).blur(function() {
			if( !this.value.length ) {
				this.value = this.defaultValue;
			}
		});
		
		$('#slideshow ul.slides-nav li.on span a').click(function (e) {
			return true;
		});
		
						
			
		$('.modal-video').click(function (e) {
			$.modal('<iframe src="' + this.href + '" height="345" width="560" scrolling="no">', {
				overlayClose:true
			});
			return false;
		});
		
		*/

	});
	
