/*
  Custom ready function
  This should be used to reposition elements or to define and use custom functions
*/
$(document).ready(function(){

        //reposition header elements
		$('.logo').append($('.byline'));
		$('.header').after($('.photo-block'));
		
		if($('.content-interior').length > 0){
			$('.content-left').prepend($('.photo-interior'));
			$('.content-right').prepend($('.form-interior'));
			$('.form-interior').after($('.boxes'));
			$('.boxes').prepend($('.testimonials'));
		}
		else{
			$('.photo-block').after($('.boxes'));
			$('.photo-block').prepend($('.form'));
		}

});//ready



