/* Create image objects */

var nav_bio_on = new Image();
var nav_bio_off = new Image();
var nav_films_on = new Image();
var nav_films_off = new Image();
var nav_blog_on = new Image();
var nav_blog_off = new Image();
var nav_contact_on = new Image();
var nav_contact_off = new Image();
var nav_search_on = new Image();
var nav_search_off = new Image();


/* Load in images */

nav_bio_on.src = 'wp-content/themes/ant/images/navigation/bio_on.gif';
nav_bio_off.src = 'wp-content/themes/ant/images/navigation/bio_off.gif';
nav_films_on.src = 'wp-content/themes/ant/images/navigation/films_on.gif';
nav_films_off.src = 'wp-content/themes/ant/images/navigation/films_off.gif';
nav_blog_on.src = 'wp-content/themes/ant/images/navigation/blog_on.gif';
nav_blog_off.src = 'wp-content/themes/ant/images/navigation/blog_off.gif';
nav_contact_on.src = 'wp-content/themes/ant/images/navigation/contact_on.gif';
nav_contact_off.src = 'wp-content/themes/ant/images/navigation/contact_off.gif';
nav_search_on.src = 'wp-content/themes/ant/images/navigation/search_on.gif';
nav_search_off.src = 'wp-content/themes/ant/images/navigation/search_off.gif';


/* Functions for rollovers */

function showOverState(button) {
	
	$(button).src = eval(button + '_on.src');
	
}

function hideOverState(button) {

	$(button).src = eval(button + '_off.src');

}