// Place your application-specific JavaScript functions and classes here
// This file is automatically included by javascript_include_tag :defaults

$(function(){
	
	// MAIN NAV IMAGE REPLACE	   
	
	
	
	
	// CONTACT INFO IMAGE REPLACE
	$('#contactImg img').live('mouseover mouseout', function(event){
		if (event.type == 'mouseover') {
			$(this).attr('src', 'http://www.blog.syntheticcitizen.com/wp-content/themes/syncit/images/mainNavBG_Bot_hvr.gif')
		} else {
			$(this).attr('src', 'http://www.blog.syntheticcitizen.com/wp-content/themes/syncit/images/mainNavBG_Bot.gif')
		}
	});
	
	// CONTACT INFO SHOW/HIDE
	$('a#contactImg').toggle(function(){
		$('#contactBox').fadeIn({duration: 500});
	}, function(){
		$('#contactBox').fadeOut({duration: 500});
	});
	
	$('#mainNavTop img').live('mouseover mouseout', function(event){
		if (event.type == 'mouseover') {
			$(this).attr('src', 'http://www.blog.syntheticcitizen.com/wp-content/themes/syncit/images/mainNavBG_Top_hvr.gif')
		} else {
			$(this).attr('src', 'http://www.blog.syntheticcitizen.com/wp-content/themes/syncit/images/mainNavBG_Top.gif')
		}
	});
	
	
	
	
	
})

