
function preloadPix() { //v1.2
  if (document.images) {
    var imgFiles = preloadPix.arguments;
    var preloadArray = new Array();
    for (var i=0; i<imgFiles.length; i++) {
      preloadArray[i] = new Image;
      preloadArray[i].src = imgFiles[i];
    }
  }
}

function preloadStartPage() { //v1.2
preloadPix('ipix/nl_geschichte.gif','ipix/nl_geschichte_1.gif','ipix/nl_geschichte_2.gif',
'ipix/nl_bier.gif','ipix/nl_bier_1.gif','ipix/nl_bier_2.gif',
'ipix/nl_schank.gif','ipix/nl_schank_1.gif','ipix/nl_schank_2.gif',
'ipix/nl_post.gif','ipix/nl_post_1.gif','ipix/nl_post_2.gif',
'ipix/nl_wo.gif','ipix/nl_wo_1.gif','ipix/nl_wo_2.gif',
'ipix/nl_buero.gif','ipix/nl_buero_1.gif','ipix/nl_buero_2.gif',
'ipix/nl_start.gif','ipix/nl_start.gif_1','ipix/nl_start_2.gif'
);
}

active = new Array();
normal = new Array();
normal_1 = new Array();
message = new Array();

normal[11]="ipix/nl_geschichte.gif"; 	normal_1[11]="ipix/nl_geschichte_1.gif"; 		active[11]="ipix/nl_geschichte_2.gif";  message[11]="Chronik und Geschichte";
normal[12]="ipix/nl_bier.gif"; 			normal_1[12]="ipix/nl_bier_1.gif"; 			active[12]="ipix/nl_bier_2.gif";  message[12]="Brauerei und Biersorten";
normal[13]="ipix/nl_schank.gif"; 		normal_1[13]="ipix/nl_schank_1.gif"; 			active[13]="ipix/nl_schank_2.gif";  message[13]="Gaststätten und Schänken";
normal[14]="ipix/nl_post.gif"; 			normal_1[14]="ipix/nl_post_1.gif"; 			active[14]="ipix/nl_post_2.gif";  message[14]="Schumacherpost mit Terminen";
normal[15]="ipix/nl_wo.gif"; 			normal_1[15]="ipix/nl_wo_1.gif"; 				active[15]="ipix/nl_wo_2.gif";  message[15]="Wo erhalten Sie Schumacher Alt";
normal[16]="ipix/nl_buero.gif"; 		normal_1[16]="ipix/nl_buero_1.gif"; 			active[16]="ipix/nl_buero_2.gif";  message[16]="Mail und Kontakt";
normal[17]="ipix/nl_start.gif"; 		normal_1[17]="ipix/nl_start_1.gif";  			active[17]="ipix/nl_start_2.gif";  message[17]="Intro und Startseite";

function Pix(Na,Num,Act,start)	{

		if (Act=='1')
			{
			for(i=11;i<Num;i++) {
				document.images["b"+i].src=normal_1[i];
				};
			document.images[Na].src=active[Num];
			for(i=Num+1;i<=17;i++) {
				document.images["b"+i].src=normal[i];
				};
			window.status=message[Num];		
			return true;
			}
		if (Act=='0')
			{
			for(i=11;i<start;i++) {
				document.images["b"+i].src=normal_1[i];
				};			
			document.images["b"+start].src=active[start];
			for(i=start+1;i<=17;i++) {
				document.images["b"+i].src=normal[i];
				};			
			return true;
			}
	}


