
// performance page functions

function showfeaturetext(num)	{
	
	var status;
	for(var n = 1; n <= 11; n++) {
		n == num ? status = 'block' : status = 'none';
		eval("document.getElementById('p" + n + "').style.display = '" + status + "'");
	}
	
}

function optionenlarge(img,w,h)	{
	
  imgwindow = window.open(img, "newWindow", 'toolbar=no,status=no,menubar=no,directories=no,resizable=no,scrollbars=no,width=' + w +',height=' + h);
  imgwindow.document.bgColor = "white";
  imgwindow.document.close();
	
}

// amend links on page for preview installer web mode

function previewmode() {
	for(i = 0; i < document.links.length; i++){
		var lnk = document.links[i].href;
		if( !lnk.match(/^mailto:/) ){
			document.links[i].href = lnk + '?mode=preview';
		}
	}
}
