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

        // repositioning
		$('.logo').after($('.mainnav'));
		$('.header').after($('#temp').html());
		$('#temp').remove();
		$('.content-interior').prepend($('.box-top'));
		$('.content-left').prepend($('.photo'));
        
        // append clear fix to each ul with floated children 
        $('.content-right ul, .sitemap ul').each(function(){
            $(this).append('<div class="clear0"><!--ie--></div>');   
        });

        // make sure that floated li items clear the previous row               
        $('.sitemap_recent ul li:nth-child(6n)').after( '<div class="clear0"><!--ie--></div>' );


});//ready



