function doesAgree(obj) {
	if(!obj){
		alert ("doesAgree: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/mobile-redirect-script.php";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree1(obj) {
	if(!obj){
		alert ("doesAgree1: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree1: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/Joomla-Mobile-Package.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree2(obj) {
	if(!obj){
		alert ("doesAgree2: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree2: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/license-appp.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree3(obj) {
	if(!obj){
		alert ("doesAgree3: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree3: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/magento-redirect.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree4(obj) {
	if(!obj){
		alert ("doesAgree4: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree4: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/magento-utility.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree5(obj) {
	if(!obj){
		alert ("doesAgree5: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree5: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/magento-utility.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree6(obj) {
	if(!obj){
		alert ("doesAgree6: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree6: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/magento-utility.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree7(obj) {
	if(!obj){
		alert ("doesAgree7: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree7: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/magento-utility.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}

function doesAgree8(obj) {
	if(!obj){
		alert ("doesAgree8: Object supplied doesnot exisits");
		return false;
	}
	var len = obj.length;
	if(len != 2){
		alert ("doesAgree8: Wrong Object supplied");
		return false;
	}

	for(var i = 0; i < 2; i++) {
		if(obj[i].checked && obj[i].value == '1') {
		// Place the URL here for download
			window.location.href="http://mobilecommercetools.com/tmp/magento-utility.zip";
			return true;
		}
	}
	// Place the URL here with ERROR message to display
	window.location.href="http://mobilecommercetools.com";
	return false;
}
