// predefined buffer for outputting to the document
var outbuffer = "";

// Sets imageSRC for image specified
function setImgSrc( image_name, image_src ) {
  document.images[ image_name ].src = image_src;
}

//reloads the window if Nav4 resized
function MM_reloadPage(init) {  
  if (init==true) 
	with (navigator) {
	  if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
        document.MM_pgW=innerWidth; 
		document.MM_pgH=innerHeight; 
		onresize=MM_reloadPage; 
	  }
	}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);

// writes copyright info to the document
function writeCopyright() {
  document.write("<div class=\"zehn\">&copy; Copyright 2004 - 2007, <a href=\"mailto:sales@euklid-cadcam.com\">Euklid CAD/CAM AG</a>, All rights reserved, <a href=\"/impressum.html\">Impressum</a></div>");
}

// loads top and nav frames
function loadTopNavFrames( mIndex, path, lang ) {
  parent.frames["frmTop"].location.href = path + "top.html?lang=" + lang + "&item=" + mIndex;
  parent.frames["frmNav"].location.href = path + "nav.html?lang=" + lang + "&item=" + mIndex;
}

