// Custom, reusable functions for corecubed developed WordPress themes

			//this clears form fields when focused. Note that instead of a $ we must use 'jQuery' for no conflicts with other WordPress scripts & libs. 	
				jQuery(document).ready(function () {
					jQuery('.clearme').one("focus", function() {
					 jQuery(this).val("");
					});
				});


// Theme-specific functions

// SLIDESHOW for home page.  Not really reusable if the home page has no rotator/slideshow script
$(document).ready(function() {
		  $(".rotator").Rotator({
		    width       : 501,
		    height      : 260,
		    strips      : 1,
		    delay       : 6000,
		    stripSpeed  : 800,
		    navigation  : '',
		    control     : '#rotator-nav',
		    effect      : 'curtain',   // curtain, zipper, wave, fountain, cascade, random
		    direction   : 'right' // left, right, alternate, random
		  });
		});
