var seb = {

	init : function() {
		if (!document.getElementById) { return; }
		
		
		this.about = document.getElementById('about');
		this.services =  document.getElementById('services');
		this.gallery =  document.getElementById('gallery-nav');
		this.contact =  document.getElementById('contact');
		this.home = document.getElementById('home');
		
		this.home.onmouseover = this.swap_home;
		this.about.onmouseover = this.swap_about;
		this.services.onmouseover = this.swap_services;
		this.gallery.onmouseover = this.swap_gallery;
		this.contact.onmouseover = this.swap_contact;
		
		this.home.onmouseout = this.swap_home_out;
		this.about.onmouseout = this.swap_about_out;
		this.services.onmouseout = this.swap_services_out;
		this.gallery.onmouseout = this.swap_gallery_out;
		this.contact.onmouseout = this.swap_contact_out;
		
		
	},
			swap_home : function() {
			this.src = 'images/home-hover.gif';
		},
			swap_about : function() {
			this.src = 'images/about-hover.gif';
		},
			swap_services : function() {
			this.src = 'images/buzz-hover.gif';
		},
			
			swap_gallery : function() {
			this.src = 'images/gallery-hover.gif';
		},
			
			swap_contact : function() {
			this.src = 'images/contact-hover.gif';
		},
		
			swap_home_out : function() {
			this.src = 'images/home.gif';
		},
		
			swap_about_out : function() {
			this.src = 'images/about.gif';
		},
			
			swap_services_out : function() {
			this.src = 'images/buzz.gif';
		},
			
			swap_gallery_out : function() {
			this.src = 'images/gallery.gif';
		},
			
			swap_contact_out : function() {
			this.src = 'images/contact.gif';
		}

};

seb.init();