// checks that at least 2 products are selected for
// chart comparison
function validateForm(frm) {
	var intChecked = 0;
	for (i = 0; i < frm.prodid.length; i++) {
		if (frm.prodid[i].checked == true)
			intChecked++;
	}
	
	if (intChecked < 2) {
		alert ("Please select two or more items to compare.");
		return false;	
	}
	frm.submit();
	return true;	
}

// Created with XCache Version:(2.2.7331.1), Copyright (c) 1997-2001 XCache Technologies All Rights Reserved 
// Page: http://w10.pcworld.com:80/reviews/chart_comparison_validation.js 
// File: file://e:\CacheDir\cache1\reviews\00000061.js 
// Origin File: file://E:\wwwData\pcw\reviews\chart_comparison_validation.js 
// Date: Tue, 06 Apr 2004 07:32:55 GMT 

