function showPhoto(theId, theLang, thePhotonum) {
	w_width = 700;
	w_height = 650;
	if (screen) {
		w_left = (screen.availWidth - w_width)/2;
		w_top = ((screen.availHeight - w_height)/2)-20;
	}
	theWindowParam = 'width='+w_width+',height='+w_height+',left='+w_left+',top='+w_top+',status=no,resizable=yes,scrollbars=yes';

	fparam = 'templates/ws_mm_products_26/showphoto.php?pageid=' + theId + '&lang=' + theLang + '&photonum=' + thePhotonum;
  window.showPhotoWindow = open(fparam, 'showPhotoWindow', theWindowParam);
	setTimeout('if(showPhotoWindow&&!showPhotoWindow.closed)showPhotoWindow.focus()',100);
}
function showPhoto2(theId, theLang) {
	w_width = 700;
	w_height = 700;
	if (screen) {
		w_left = (screen.availWidth - w_width)/2;
		w_top = ((screen.availHeight - w_height)/2)-20;
	}
	theWindowParam = 'width='+w_width+',height='+w_height+',left='+w_left+',top='+w_top+',status=no,resizable=yes,scrollbars=yes';

	fparam = 'templates/ws_mm_products_26/showframe.php?pageid=' + theId+'&lang=' + theLang;
  window.showPhoto2Window = open(fparam, 'showPhoto2Window', theWindowParam);
	setTimeout('if(showPhoto2Window&&!showPhoto2Window.closed)showPhoto2Window.focus()',100);
}
function ShowPhotoSrc(theId, thePhoto) {
	document.getElementById(theId).src = thePhoto;
}
function HideThumbPhoto(theId) {
	document.getElementById(theId).src = 'layout/images/blank.gif';
}
function photoGallery(theId, theLang) {
	w_width = 700;
	w_height = 650;
	if (screen) {
		w_left = (screen.availWidth - w_width)/2;
		w_top = ((screen.availHeight - w_height)/2)-20;
	}
	theWindowParam = 'width='+w_width+',height='+w_height+',left='+w_left+',top='+w_top+',status=no,resizable=yes,scrollbars=yes';

	fparam = 'templates/ws_mm_products_26/showphotogallery.php?pageid=' + theId + '&lang=' + theLang;
  window.photoGalleryWindow = open(fparam, 'photoGalleryWindow', theWindowParam);
	setTimeout('if(photoGalleryWindow&&!photoGalleryWindow.closed)photoGalleryWindow.focus()',100);
}
function videoGallery(theId, theLang) {
	w_width = 700;
	w_height = 650;
	if (screen) {
		w_left = (screen.availWidth - w_width)/2;
		w_top = ((screen.availHeight - w_height)/2)-20;
	}
	theWindowParam = 'width='+w_width+',height='+w_height+',left='+w_left+',top='+w_top+',status=no,resizable=yes,scrollbars=yes';

	fparam = 'templates/ws_mm_products_26/showvideogallery.php?pageid=' + theId + '&lang=' + theLang;
  window.photoGalleryWindow = open(fparam, 'photoGalleryWindow', theWindowParam);
	setTimeout('if(photoGalleryWindow&&!photoGalleryWindow.closed)photoGalleryWindow.focus()',100);
}
function OtherPhotoGallery(theId, theLang) {
	w_width = 700;
	w_height = 650;
	if (screen) {
		w_left = (screen.availWidth - w_width)/2;
		w_top = ((screen.availHeight - w_height)/2)-20;
	}
	theWindowParam = 'width='+w_width+',height='+w_height+',left='+w_left+',top='+w_top+',status=no,resizable=yes,scrollbars=yes';

	fparam = 'templates/ws_mm_products_26/showotherphotogallery.php?pageid=' + theId + '&lang=' + theLang;
  window.otherphotoGalleryWindow = open(fparam, 'otherphotoGalleryWindow', theWindowParam);
	setTimeout('if(otherphotoGalleryWindow&&!otherphotoGalleryWindow.closed)otherphotoGalleryWindow.focus()',100);
}
function showFeatures() {
  document.getElementById('overview').style.display = 'none'; 
	document.getElementById('features').style.display = 'block'; 
	document.getElementById('technicalspecs').style.display = 'none'; 
}
function showOverview() {
	document.getElementById('overview').style.display = 'block'; 
	document.getElementById('features').style.display = 'none'; 
	document.getElementById('technicalspecs').style.display = 'none'; 
}
function showTechnicalSpecs() {
	document.getElementById('overview').style.display = 'none'; 
	document.getElementById('features').style.display = 'none'; 
	document.getElementById('technicalspecs').style.display = 'block'; 
}



