$(document).ready(function() {
    $('#scrollup').cycle({
		fx: 'fade',
		speed:  200,  // choose your transition type, ex: fade, scrollUp, shuffle, etc...
		timeout:  1500
	});
	
	/* DW inserted Javascript starts here */
	$("body").addClass("js"); // .js class
	$("#contact input[type=text]").focus(function(){$("p.no-spam input[type=text]").val('17');});
	$("#logo_link").hover(function(){$(this).stop().animate({'opacity' : .5 }, 150);} , function() {$(this).stop().animate({'opacity' : 1 }, 400);});
	// And ends here.
	
	
});


	
	 $(function() {
    
    $('#example-1').tipsy();
    
    $('#fademe1').tipsy({gravity: 'n'});
    
    $('#south').tipsy({gravity: 's'});
    $('#east').tipsy({gravity: 'e'});
    
  
    $('#homesocial').tipsy({ fade: true, gravity: 's' });
    $('#homepiggy').tipsy({ fade: true, gravity: 's' });  
    $('#homemobile').tipsy({ fade: true, gravity: 'n' });  
    $('#hometrolley').tipsy({ fade: true, gravity: 's' });  
    $('#homecorp').tipsy({ fade: true, gravity: 'n' });  
    $('#homesbus').tipsy({ fade: true, gravity: 's' });  
    $('#homebus').tipsy({ fade: true, gravity: 's' });  
    $('#homecom').tipsy({ fade: true, gravity: 'n' });  
    $('#homespider').tipsy({ fade: true, gravity: 's' });  
    $('#homeflower').tipsy({ fade: true, gravity: 'n' });  
    $('#homefun').tipsy({ fade: true, gravity: 's' });  
    $('#homebird').tipsy({ fade: true, gravity: 'n' });   
    
    $('#auto-gravity').tipsy({gravity: $.fn.tipsy.autoNS});
    
    $('#fademe1').tipsy({fade: true});
 
    
    $('#example-custom-attribute').tipsy({title: 'id'});
    $('#example-callback').tipsy({title: function() { return this.getAttribute('original-title').toUpperCase(); } });
    $('#example-fallback').tipsy({fallback: "Where's my tooltip yo'?" });
    
    $('#example-html').tipsy({html: true });
    
  });

