p1_on = new Image();
p1_on.src = 'gfx/p1_on.gif';
p1_off = new Image();
p1_off.src = 'gfx/p1_on.gif';
p1_o = new Image();
p1_o.src = 'gfx/p1_off.gif';

p2_on = new Image();
p2_on.src = 'gfx/p2_on.gif';
p2_off = new Image();
p2_off.src = 'gfx/p2_off.gif';
p2_o = new Image();
p2_o.src = 'gfx/p2_off.gif';

p3_on = new Image();
p3_on.src = 'gfx/p3_on.gif';
p3_off = new Image();
p3_off.src = 'gfx/p3_off.gif';
p3_o = new Image();
p3_o.src = 'gfx/p3_off.gif';

p4_on = new Image();
p4_on.src = 'gfx/p4_on.gif';
p4_off = new Image();
p4_off.src = 'gfx/p4_off.gif';
p4_o = new Image();
p4_o.src = 'gfx/p4_off.gif';

p5_on = new Image();
p5_on.src = 'gfx/p5_on.gif';
p5_off = new Image();
p5_off.src = 'gfx/p5_off.gif';
p5_o = new Image();
p5_o.src = 'gfx/p5_off.gif';

p6_on = new Image();
p6_on.src = 'gfx/p6_on.gif';
p6_off = new Image();
p6_off.src = 'gfx/p6_off.gif';
p6_o = new Image();
p6_o.src = 'gfx/p6_off.gif';

p7_on = new Image();
p7_on.src = 'gfx/p7_on.gif';
p7_off = new Image();
p7_off.src = 'gfx/p7_off.gif';
p7_o = new Image();
p7_o.src = 'gfx/p7_off.gif';

function rep(co, naco){
	co.src = naco.src;
}
function ww1(){
	rep(p1_off,p1_o);
	rep(p2_off,p2_o);
	rep(p3_off,p3_o);
	rep(p4_off,p4_o);
	rep(p5_off,p5_o);
	rep(p6_off,p6_o);
	rep(p7_off,p7_o);
}
function ww2(){
	p1.onmouseout()
	p2.onmouseout()
	p3.onmouseout()
	p4.onmouseout()
	p5.onmouseout()
	p6.onmouseout()
	p7.onmouseout()
	self.focus();
}

function aktmenu1(){
	ww1();
	rep(p1_off,p1_on);
	ww2();
}
function aktmenu2(){
	ww1();
	rep(p2_off,p2_on);
	ww2();
}
function aktmenu3(){
	ww1();
	rep(p3_off,p3_on);
	ww2();
}
function aktmenu4(){
	ww1();
	rep(p4_off,p4_on);
	ww2();
}
function aktmenu5(){
	ww1();
	rep(p5_off,p5_on);
	ww2();
}
function aktmenu6(){
	ww1();
	rep(p6_off,p6_on);
	ww2();
}
function aktmenu7(){
	ww1();
	rep(p7_off,p7_on);
	ww2();
}

