

function getAppVersion() {
 appname= navigator.appName;
 appversion = navigator.appVersion;
 majorver = appversion.substring(0, 1);
 if ( (appname == "Netscape") && ( majorver >= 3 ) ) return 1;
 if ( (appname == "Microsoft Internet Explorer") && (majorver >= 4) ) return 1;
  return 0;
}

function swtch(num, imgname) {
  if (getAppVersion()) {
 	document[imgname].src = img[num].src;
  	}
}


imgsrc = new Array();
imgsrc[0] = "gfx/button_home.gif";
imgsrc[1] = "gfx/button_home_over.gif";
imgsrc[2] = "gfx/button_applications.gif";
imgsrc[3] = "gfx/button_applications_over.gif";
imgsrc[4] = "gfx/button_system.gif";
imgsrc[5] = "gfx/button_system_over.gif";
imgsrc[6] = "gfx/button_inquiries.gif";
imgsrc[7] = "gfx/button_inquiries_over.gif";
imgsrc[8] = "gfx/button_contact.gif";
imgsrc[9] = "gfx/button_contact_over.gif";
imgsrc[10] = "gfx/button_projects.gif";
imgsrc[11] = "gfx/button_projects_over.gif";

if (getAppVersion()) {
  img = new Array();
  for (i = 0; i < imgsrc.length; i++) {
	 img[i] = new Image();
	 img[i].src = imgsrc[i];
  }
}
	/*

window.defaultStatus='Rieker Druckveredelung GmbH im Internet';

function stext(text) { window.status=text; }*/



