function setTestimonial(){
   
	var testimonials = new Array(
		'<p class="quote">"Exceptional, excellent, extraordinary; all surpassing any experience in the city." <span class="quote-author">- Diane &amp; John Bell</span></p>',
		'<p class="quote">"My wife &amp; I built a home in Muskoka while living in Texas. Without Muskoka Living, the job would&#8217;ve been insurmountable." <span class="quote-author">- L &amp; J Roddy</span></p>',
		'<p class="quote">"Everything looked sensational and we didn&#8217;t spend our entire summer unpacking boxes." <span class="quote-author">- M &amp; A Lee</span></p>',
		'<p class="quote">"I keep going back there because they&#8217;re the best at what they do. They have outdone everyone else." <span class="quote-author">- T Kirkpatrick</span></p>',
		'<p class="quote">"They considered our ideas and lifestyle with best-in-class principles of interior design and decoration." <span class="quote-author">- W &amp; J Hill</span></p>',
		'<p class="quote">"We cannot over emphasize the value that Muskoka Living brought to all aspects of our project." <span class="quote-author">- S &amp; D Leslie</span></p>'
		)
	
	var quote = testimonials[Math.floor(Math.random()*testimonials.length)];
	
	return quote;
}


$(function() {

	document.title = 'Muskoka Living Interiors ● ' + $('title').text();	

    $('#slider').cycle({ 
        fx:    'fade', 
        random:  1,
        speed:  2500,
        pager:  '#slider-nav',
        pagerAnchorBuilder: function(idx, slide) { 
        	return '<a href="#">&bull;</a>'; 
    	} 
     });
     
        
	$('div#testimonial').html(setTestimonial());
    
    
    $('#social-bar a').hover( function () {
    	$(this).find('img').stop().animate({opacity : 1}, 150);   
    }, function () {
    	$(this).find('img').stop().animate({opacity : 0}, 300);    
    });
    
    $('#social-bar a').attr('target', '_blank');
    
    
    
    $('#newsletter-h').hide();
	$('a.footer-subscribe').show().toggle(function() {
		$('#newsletter-h').slideDown({
    		duration: 600
    		})
/* 		$(this).text("Cancel"); */
		$("#recover-password input:text:visible:first").focus();
	}, function() {
	 	$('#newsletter-h').slideUp({
    		duration: 600
    		})
/* 	 	$(this).text('Subscribe to our Newsletter'); */
	});
    
    
});
