 $(document).ready(function() {
      
   var badBrowser = (/MSIE ((5\.5)|6)/.test(navigator.userAgent) && navigator.platform == "Win32");
   
   if (!badBrowser) {
      		createGradient();
   }
		
  });
 
function createGradient(){
//CAN'T USE CODE BELOW BECAUSE IT BREAKS IE6
$("#content1").gradient({ from: 'A29664', to: 'e2dab7' });
$("#content2").gradient({ from: 'A29664', to: 'e2dab7', direction: 'vertical' });
}


//New jquery code used for swapping images on click
$('.replace').click(function() {
	$(this).attr("src","assets/maps2.png");
		}, function() {
	$(this).attr("src","assets/maps2.png");
});


 
