if (document.images) {
	textures1on = new Image(139, 20);
	textures1on.src = "img/buttons/button2_textures01.gif";
	textures1off = new Image(139, 20);
	textures1off.src = "img/buttons/button1_textures01.gif";
	textures2on = new Image(139, 20);
	textures2on.src = "img/buttons/button2_textures02.gif";
	textures2off = new Image(139, 20);
	textures2off.src = "img/buttons/button1_textures02.gif";
	textures3on = new Image(139, 20);
	textures3on.src = "img/buttons/button2_textures03.gif";
	textures3off = new Image(139, 20);
	textures3off.src = "img/buttons/button1_textures03.gif";
	textures4on = new Image(139, 20);
	textures4on.src = "img/buttons/button2_textures04.gif";
	textures4off = new Image(139, 20);
	textures4off.src = "img/buttons/button1_textures04.gif";
	textures5on = new Image(139, 20);
	textures5on.src = "img/buttons/button2_textures05.gif";
	textures5off = new Image(139, 20);
	textures5off.src = "img/buttons/button1_textures05.gif";
	textures6on = new Image(139, 20);
	textures6on.src = "img/buttons/button2_textures06.gif";
	textures6off = new Image(139, 20);
	textures6off.src = "img/buttons/button1_textures06.gif";
	textures7on = new Image(139, 20);
	textures7on.src = "img/buttons/button2_textures07.gif";
	textures7off = new Image(139, 20);
	textures7off.src = "img/buttons/button1_textures07.gif";
	textures8on = new Image(139, 20);
	textures8on.src = "img/buttons/button2_textures08.gif";
	textures8off = new Image(139, 20);
	textures8off.src = "img/buttons/button1_textures08.gif";
	textures9on = new Image(139, 20);
	textures9on.src = "img/buttons/button2_textures09.gif";
	textures9off = new Image(139, 20);
	textures9off.src = "img/buttons/button1_textures09.gif";
	textures10on = new Image(139, 20);
	textures10on.src = "img/buttons/button2_textures10.gif";
	textures10off = new Image(139, 20);
	textures10off.src = "img/buttons/button1_textures10.gif";
	textures11on = new Image(139, 20);
	textures11on.src = "img/buttons/button2_textures11.gif";
	textures11off = new Image(139, 20);
	textures11off.src = "img/buttons/button1_textures11.gif";
	textures12on = new Image(139, 20);
	textures12on.src = "img/buttons/button2_textures12.gif";
	textures12off = new Image(139, 20);
	textures12off.src = "img/buttons/button1_textures12.gif";
	textures13on = new Image(139, 20);
	textures13on.src = "img/buttons/button2_textures13.gif";
	textures13off = new Image(139, 20);
	textures13off.src = "img/buttons/button1_textures13.gif";
	textures14on = new Image(139, 20);
	textures14on.src = "img/buttons/button2_textures14.gif";
	textures14off = new Image(139, 20);
	textures14off.src = "img/buttons/button1_textures14.gif";
	textures15on = new Image(139, 20);
	textures15on.src = "img/buttons/button2_textures15.gif";
	textures15off = new Image(139, 20);
	textures15off.src = "img/buttons/button1_textures15.gif";
	textures16on = new Image(139, 20);
	textures16on.src = "img/buttons/button2_textures16.gif";
	textures16off = new Image(139, 20);
	textures16off.src = "img/buttons/button1_textures16.gif";
	textures17on = new Image(139, 20);
	textures17on.src = "img/buttons/button2_textures17.gif";
	textures17off = new Image(139, 20);
	textures17off.src = "img/buttons/button1_textures17.gif";
	textures18on = new Image(139, 20);
	textures18on.src = "img/buttons/button2_textures18.gif";
	textures18off = new Image(139, 20);
	textures18off.src = "img/buttons/button1_textures18.gif";
	reactieon = new Image(139, 20);
	reactieon.src = "img/buttons/button2_reactie.gif";
	reactieoff = new Image(139, 20);
	reactieoff.src = "img/buttons/button1_reactie.gif";
	homeon = new Image(139, 20);
	homeon.src = "img/buttons/button2_home.gif";
	homeoff = new Image(139, 20);
	homeoff.src = "img/buttons/button1_home.gif";
	
	}

	function button(imgname) {
    if (document.images) {
    document[imgname].src = eval(imgname + 'on.src');
   	}
}

	function buttoff(imgname) {
    if (document.images) {
    document[imgname].src = eval(imgname + 'off.src');
    }
}
