function Validate1() {
	var vQty=parseInt(document.f1.Qty1.value);	
	var pr=0;

	if (isNaN(vQty) || vQty<1){
		alert ("Invalid Quantity!, please input a valid positive integer.");
		document.f1.Qty1.focus();
		return false;
	}
	else{
		if (vQty==1) pr=26.00; 
		if (vQty>1 & vQty<6) pr=22.00;
		if (vQty>5) pr=20.00;
		document.f1.item_name.value= "Duplicate Finder v3.4 - " + vQty + " License(s) @ $" + pr +" USD";
		document.f1.item_number.value= "1001";
		document.f1.amount.value=pr;
		document.f1.quantity.value=vQty;	
		return true;
	}	
}	

function Validate2() {
	var vQty=parseInt(document.f2.Qty2.value);	
	var pr=0;

	if (isNaN(vQty) || vQty<1){
		alert ("Invalid Quantity!, please input a valid positive integer.");
		document.f2.Qty2.focus();
		return false;
	}
	else{
		if (vQty==1) pr=14.95; 
		if (vQty>1 & vQty<6) pr=12.95;
		if (vQty>5) pr=10.95;
		document.f2.item_name.value= "Print Directory v1.0 - " + vQty + " License(s) @ $" + pr +" USD";
		document.f2.item_number.value= "1002";
		document.f2.amount.value=pr;
		document.f2.quantity.value=vQty;	
		return true;
	}	
}	

function Validate3() {
	document.f3.item_name.value= "Duplicate Finder + Print Directory @ $39.95 USD";
	document.f3.item_number.value= "1003";
	document.f3.amount.value="39.95";
	return true;
}	

function r_openWin(Url,Name,Width,Height,Scrollbars)  {
		var features = 'status=no left=0 top=0,scrollbars=' + Scrollbars + ',width=' + Width + ',height=' + Height;
		window.open(Url, Name, features );
	}