$(document).ready(function() {
				//homepage slideshow		
				$('#slideshow').before('<div id="nav" class="nav">').cycle({
					fx:     'scrollRight',
					speed:  'slow',
					timeout: 9000,
					pager:  '#nav',
					before: function() { if (window.console) console.log(this.src); }
				});
				$('#nav').click(function() { 
				$('#slideshow').cycle('pause'); 
				});
				
				
				$(".example6").colorbox({iframe:true, innerWidth:425, innerHeight:344});
				//$(".example8").colorbox({width:"50%", inline:true, href:"#buy-all-bran-popup"});
				
				
				$('#try-1').click(function(e) {
				$('#slideshow').cycle('pause');
				$('#buy-all-bran-popup').lightbox_me({
					centered: true, 
					onLoad: function() { 
						$('#slideshow').cycle('resume');
						$('#buy-all-bran-popup').find('input:first').focus()
						}
					});
					e.preventDefault();
				});
					
				
				
				
				
				
				/*
				
				//you tube lightbox
				$('.tv').click(function(e) {
					$('#slideshow').cycle('pause');
					$('#youtube').lightbox_me({
						centered: true, 
						onLoad: function() { 
							$('#slideshow').cycle('resume');
							$('#youtube').find('input:first').focus()
							//$('#youtube iframe').remove()
							//destroyOnClose();
							},
							onClose: function() { 
							
							$('#youtube iframe').remove()
							
							}
						});
					e.preventDefault();
				});
				
				*/


					
			
				
							$(function(){
				   $('.two').hover( function(){
						$(".img-swap3").attr("src", "img/right-arrow-icon-brown.png");

					});
					$('.two').mouseout( function(){
						$(".img-swap3").attr("src", "img/right-arrow-icon.png");

					});

				});
				
				
								$(function(){
				   $('.three').hover( function(){
						$(".img-swap2").attr("src", "img/right-arrow-icon-brown.png");

					});
					$('.three').mouseout( function(){
						$(".img-swap2").attr("src", "img/right-arrow-icon.png");

					});

				});
				
				
				
						$(function(){
				   $('.one').hover( function(){
						$(".img-swap4").attr("src", "img/heart-icon-brown.png");

					});
					$('.one').mouseout( function(){
						$(".img-swap4").attr("src", "img/heart-icon.png");

					});

				});
					$(function(){
				   $('.tv').hover( function(){
						$(".img-swap5").attr("src", "img/tv-icon-brown.png");

					});
					$('.tv').mouseout( function(){
						$(".img-swap5").attr("src", "img/tv-icon.png");

					});

				});
				
				

			
				});
