
//<!--- If the browser can change images --->
if(document.images) {
	//<!---  Main Buttons navigation --->
	tab_home_over = new Image(); tab_home_over.src = '/images/tabs_small/home_over.gif';
	tab_home_out  = new Image(); tab_home_out.src  = '/images/tabs_small/home_out.gif';
	tab_about_over = new Image(); tab_about_over.src = '/images/tabs_small/about_over.gif';
	tab_about_out  = new Image(); tab_about_out.src  = '/images/tabs_small/about_out.gif';
	tab_contact_over = new Image(); tab_contact_over.src = '/images/tabs_small/contact_over.gif';
	tab_contact_out  = new Image(); tab_contact_out.src  = '/images/tabs_small/contact_out.gif';
	tab_resource_over = new Image(); tab_resource_over.src = '/images/tabs_small/resource_over.gif';
	tab_resource_out  = new Image(); tab_resource_out.src  = '/images/tabs_small/resource_out.gif';
	tab_news_over = new Image(); tab_news_over.src = '/images/tabs_small/news_over.gif';
	tab_news_out  = new Image(); tab_news_out.src  = '/images/tabs_small/news_out.gif';
	tab_portfolio_over = new Image(); tab_portfolio_over.src = '/images/tabs_small/portfolio_over.gif';
	tab_portfolio_out  = new Image(); tab_portfolio_out.src  = '/images/tabs_small/portfolio_out.gif';
}

function imageChange(imageName, newSource) {
	//<!---  If the browser can change images --->
	if(document.images) {
		//<!--- Change the image's source --->
		eval('document.images["' +imageName + '"].src = ' + newSource + '.src');
	}
}
