jQuery.noConflict();

// Put all your code in your document ready area

jQuery(document).ready(function($){

// Do jQuery stuff using $ this where the functions need to go   


		$(document).ready(function() {
		
		
		 // ======================= ADD PRINT BUTTON TO BOTTOM UL =========================
		
			$('p#print_page a').click(function() {
				window.print();
				return false;
			});
			

		
		});




		// ================= TEXT RE-SIZE ==================== 
		
		
		
		$(document).ready(function(){
		  // Reset Font Size
		  
		  $(".resetFont").click(function(){
			  $('html').css('font-size', "1em");
		  	$("#changeFont a").removeClass("underline");
			$(this).addClass("underline");
		  });
		  
		  // Increase Font Size
		  $(".increaseFont").click(function(){
			var newFontSize = "1.2em";
			$('html').css('font-size', newFontSize);
		  	$("#changeFont a").removeClass("underline");
			$(this).addClass("underline");
			return false;
		  });
		  // Decrease Font Size
		  $(".decreaseFont").click(function(){
			var newFontSize = "0.8em";
			$('html').css('font-size', newFontSize);
			
		  	$("#changeFont a").removeClass("underline");
			$(this).addClass("underline");
			return false;
		  });
		});


		// ================= JQUERY SLIDER ==================== 
		
		$(document).ready(function() {
			$('.sliderhome').cycle({
				fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
			});
		});
		
		$(document).ready(function() {
			$('.clientquotecontain').cycle({
				fx: 'fade' // choose your transition type, ex: fade, scrollUp, shuffle, etc...
			});
		});
		
		
		
		
		// ================= Fancybox ========================
		
		
		$(".movie").click(function() {
			$.fancybox({
					'padding'		: 5,
					'autoScale'		: false,
					'transitionIn'	: 'fade',
					'transitionOut'	: 'fade',
					'title'			: this.title,
					'width'		: 680,
					'height'		: 495,
					'href'			: this.href.replace(new RegExp("watch\\?v=", "i"), 'v/'),
					'type'			: 'swf',
					'swf'			: {
						 'wmode'		: 'transparent',
						'allowfullscreen'	: 'true'
					}
				});
		
			return false;
		});
		
			

		// ================= Sliding panel contact form ========================
		
		$('a.panellink').click(function() {
		  $('div.hiddenpanel').slideToggle(250, function() {
			// Animation complete.
		  });
		});
		
			
		// ================= Add/Remove class for text resizer ========================
		
		$("#changeFont a").click(function(){
			
		});

});







