	function clearText(inputfield){
		if (inputfield.defaultValue==inputfield.value)
			inputfield.value = ""
	}
	function replaceDefault(inputfield){
		if (inputfield.value=="")
			inputfield.value = inputfield.defaultValue
	}
	function roll(img_name, img_src, about_product_header, about_product_text) {
		original_text = '<p>Work easier. Faster. Smarter. Our data management and reporting applications put your lab, operations and maintenance information at your fingertips&mdash;Accurate, whatever you need, when you need it.</p>AllMax software applications will enable you to:<ul><li>Simplify reporting</li><li>Increase performance, efficiency and profitability</li><li>Standardize and access plant data throughout the enterprise</li><li>Interface with compatable database platforms</li><li>Increase asset utilization</li><li>Reduce downtime and unscheduled maintenance</li><li>Optimize production efficiencies for increased profitability</li></ul><p>Data management and reporting. It\'s what we do.</p>'
		document[img_name].src = img_src;
		document.getElementById('product_text_header').innerHTML = about_product_header;
		document.getElementById('product_text').innerHTML = about_product_text;
		if (about_product_text == '')
			document.getElementById('product_text').innerHTML = original_text;
	}
	function roll_notext(img_name, img_src) {
		document[img_name].src = img_src;
	}

	function show_hide(id, show) {
		if (el = document.getElementById(id)) {
			if (null==show) show = el.style.display=='none';
			el.style.display = (show ? '' : 'none');
		}
	}
	function downloadWTR() {
		window.open('http://www.allmaxsoftware.com/downloads/installs/operations.exe','Download','toolbar=0,location=no,directories=0,status=0,scrollbars=0,resizeable=0,width=1,height=1,top=0,left=0');
		window.focus();
	}
	function downloadWAS() {
		window.open('http://www.allmaxsoftware.com/downloads/installs/operations.exe','Download','toolbar=0,location=no,directories=0,status=0,scrollbars=0,resizeable=0,width=1,height=1,top=0,left=0');
		window.focus();
	}
	function downloadSYN() {
		window.open('http://www.allmaxsoftware.com/downloads/installs/operations.exe','Download','toolbar=0,location=no,directories=0,status=0,scrollbars=0,resizeable=0,width=1,height=1,top=0,left=0');
		window.focus();
	}
	function downloadANT() {
		window.open('http://www.allmaxsoftware.com/downloads/installs/maintenance.exe','Download','toolbar=0,location=no,directories=0,status=0,scrollbars=0,resizeable=0,width=1,height=1,top=0,left=0');
		window.focus();
	}