// code for rollovers

var Sections = new Array("home", "company_profile", "products", "contacts", "media_releases", "customer_information", "distributors");
var Rollovers = new Array();

for (var i=0; i < Sections.length; i++) {
	Rollovers[Sections[i]] = new rollover(Sections[i]);
}

function rollover(section) {
	this.section = section;
	this.normal = new Image();
	this.normal.src="images/nav_" + section + "_n.gif";
	this.active = new Image();
	this.active.src="images/nav_" + section + "_a.gif";
}

function over(section) {
	if (document.images && section != activeSection)
		document.images["nav_" + section].src = Rollovers[section].active.src;
}

function out(section) {
	if (document.images && section != activeSection)
		document.images["nav_" + section].src = Rollovers[section].normal.src;
}

function init() {
	if (document.images && activeSection != "") document.images["nav_" + activeSection].src = Rollovers[activeSection].active.src;
}
