// michael-augustin.de: Project Javascripts
// MM [08/2005] --> manni@mannim.de

normal = new Array();
rollover = new Array();
img_path = "../images/content/projekte/";
bt_active = -1;


normal[0] = new Image();
normal[0].src = img_path+"seppelfricke_auge_01.jpg";
rollover[0] = new Image();
rollover[0].src = img_path+"seppelfricke_auge_02.jpg";




function over(img, bt_index) {
	img.src = rollover[bt_index].src;
}

function out(img, bt_index) {
	if (bt_active != bt_index) {
		img.src = normal[bt_index].src;
	}
}

function stay(img, bt_index) {
	if (bt_active != bt_index) {
		if (bt_active != -1) {
			act_image = eval(bt_active_name);
			act_image.src = normal[bt_active].src;
		}

	img.src = rollover[bt_index].src;
}

	bt_active = bt_index;
	bt_active_name = img;
}

function reset_nav() {
	if (bt_active != -1) {
		act_image = eval(bt_active_name);
		act_image.src = normal[bt_active].src;
	}
	bt_active = -1;
}
