$(function(){
   	
	/*$("#nav > li.nav_parent > a").each(function() {
		$(this).append("<span></span>");
	});*/


	//CYCLE find more variables at http://jquery.malsup.com/cycle/options.html
	$('.slideshow').after('<div id="next">').before('<div id="prev">')
	.cycle({
		fx: 'scrollHorz',
		next: '#next',
		prev: '#prev',
		cleartypeNoBg: true,
		timeout: 6000		
	});
	
	$('.testimonials').after('<div id="pager">')
	.cycle({
		fx: 'fade',
		pager: '#pager',
		cleartypeNoBg: true,
		cleartype: true
	});
	
	$('.custom1').wrapInner('<div class="custom1_inner">');
	$('.custom2').wrapInner('<div class="custom2_inner">');
	
      $(".tweet").tweet({
        join_text: "auto",
        username: "GraphicExpress_",
        avatar_size: 0,
        count: 2,
        auto_join_text_default: "we said,",
        auto_join_text_ed: "we",
        auto_join_text_ing: "we were",
        auto_join_text_reply: "we replied",
        auto_join_text_url: "we were checking out",
        loading_text: "loading tweets..."
      });
	
	//VALIDATION use a different id to validate seperate forms.
	$('#contactForm, #searchForm').fishValidate();
	
});

