$(document).ready(function(){
	// round corners
	$('.RoundCorner').corner("10px");
	
	// banner slideshow
	$('#banner').cycle({
		height:  '250px',	// container height
	    fade:     1,		// true for fade, false for slide 
	    speed:    2000,		// any valid fx speed value 
	    timeout:  5000,		// ms duration for each slide 
	    random:   0,       	// true for random, false for sequence 
	    fit:      1,       	// force slides to fit container 
	    pause:    0,       	// true to enable "pause on hover" 
	    autostop: 0        	// true to end slideshow after X slides have been shown (where X == slide count) (note that if random == true not all slides are guaranteed to have been shown) 
	});
	
	// anti spam form validation
	$('input,textarea').keypress(function(){
		this.form.elements.pv.value='verified';
	});
	
	// drop down nav
	$('ul#nav li').hover(
		function(){ $(this).children('ul').show(); },
		function(){ $(this).children('ul').hide(); }
	);
	
	// png fix for old IE browsers
	$(document).pngFix();
	
	// no click on nav
	$('LI.page-item-34 > A').attr('href','#');

	// banner slideshow
	$('.results-sidebar').cycle({
		height:  '210px',	// container height 
	    fade:     1,		// true for fade, false for slide 
	    speed:    2000,		// any valid fx speed value 
	    timeout:  10000,	// ms duration for each slide 
	    random:   1,       // true for random, false for sequence 
	    fit:      0,       // force slides to fit container 
	    pause:    0,       // true to enable "pause on hover" 
	    autostop: 0        // true to end slideshow after X slides have been shown (where X == slide count) (note that if random == true not all slides are guaranteed to have been shown) 
	});

});
	


