/*-----------------------------------------------------------------------------------*/
/*	MENU
/*-----------------------------------------------------------------------------------*/
ddsmoothmenu.init({
	mainmenuid: "menu",
	orientation: 'h',
	classname: 'menu',
	contentsource: "markup"
})
/*-----------------------------------------------------------------------------------*/
/*	TWITTER
/*-----------------------------------------------------------------------------------*/
getTwitters('twitter', {
        id: 'elemisdesign', 
        count: 1, 
        enableLinks: true, 
        ignoreReplies: false,
        template: '<span class="twitterPrefix"><span class="twitterStatus">%text%</span><br />',
        newwindow: true
});
/*-----------------------------------------------------------------------------------*/
/*	IMAGE HOVER
/*-----------------------------------------------------------------------------------*/
$(function() {
// OPACITY OF BUTTON SET TO 50%
$('ul.works li img, ul.gallery img, .flickr img, .list img, #blog a img').css("opacity","1.0");	
// ON MOUSE OVER
$('ul.works li img, ul.gallery img, .flickr img, .list img, #blog a img').hover(function () {										  
// SET OPACITY TO 100%
$(this).stop().animate({ opacity: 0.75 }, "fast"); },	
// ON MOUSE OUT
function () {			
// SET OPACITY BACK TO 50%
$(this).stop().animate({ opacity: 1.0 }, "fast");
});
});
/*-----------------------------------------------------------------------------------*/
/*	BUTTON HOVER
/*-----------------------------------------------------------------------------------*/
$(function() {
$('.button, input#submit-button').css("opacity","1.0");	
$('.button, input#submit-button').hover(function () {										  
$(this).stop().animate({ opacity: 0.75 }, "fast"); },	
function () {			
$(this).stop().animate({ opacity: 1.0 }, "fast");
});
});
/*-----------------------------------------------------------------------------------*/
/*	GALLERY IMAGE LOAD
/*-----------------------------------------------------------------------------------*/   
$(document).ready(function(){		
$("ul.gallery img").hide()
$("ul.gallery img").each(function(i) {
$(this).delay(i * 200).fadeIn();
});			
});

