

////////////////////////////////////////////////////////
///Design Center SME prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice10(ex) {
	//if (ex == "SA") {
		return 7200;
	}


////////////////////////////////////////////////////////
///Design Center STANDARD prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice(ex) {
	//if (ex == "SA") {
		return 14500;
	}



////////////////////////////////////////////////////////
///Design Center PRO prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice11(ex) {
	//if (ex == "SA") {
		return 25000;
	}




////////////////////////////////////////////////////////
///Survey & Terrain prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice2(ex) {
	//if (ex == "SA") {
		return 14500;
	}
	

////////////////////////////////////////////////////////
///Roads prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice3(ex) {
	//if (ex == "SA") {
		return 14500;
	}
	
////////////////////////////////////////////////////////
///Sewer prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice4(ex) {
	//if (ex == "SA") {
		return 14500;
	}
	

////////////////////////////////////////////////////////
///Storm prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice5(ex) {
	//if (ex == "SA") {
		return 14500;
	}
	

////////////////////////////////////////////////////////
///Water prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice6(ex) {
	//if (ex == "SA") {
		return 16250;
	}

	

////////////////////////////////////////////////////////
///Turn prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice8(ex) {
	//if (ex == "SA") {
		return 9000;
	}

	

////////////////////////////////////////////////////////
///Map prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice7(ex) {
	//if (ex == "SA") {
		return 14500;
	}




////////////////////////////////////////////////////////
///Map VIEW prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice12(ex) {
	//if (ex == "SA") {
		return 7500;
	}


	

////////////////////////////////////////////////////////
///CAD prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice9(ex) {
	//if (ex == "SA") {
		return 10500;
	}
	





// ********************************************
// UPGRADE AND SUPPORT CONTRACTS PRICES BELOW

// ********************************************


////////////////////////////////////////////////////////
///Design Center SME UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice13(ex) {
	//if (ex == "SA") {
		return 936;
	}


////////////////////////////////////////////////////////
///Design Center STANDARD UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice14(ex) {
	//if (ex == "SA") {
		return 1885;
	}



////////////////////////////////////////////////////////
///Design Center PRO UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice15(ex) {
	//if (ex == "SA") {
		return 3250;
	}




////////////////////////////////////////////////////////
///Survey & Terrain UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice16(ex) {
	//if (ex == "SA") {
		return 1885;
	}
	

////////////////////////////////////////////////////////
///Roads UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice17(ex) {
	//if (ex == "SA") {
		return 1885;
	}
	
////////////////////////////////////////////////////////
///Sewer UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice18(ex) {
	//if (ex == "SA") {
		return 1885;
	}
	

////////////////////////////////////////////////////////
///Storm UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice19(ex) {
	//if (ex == "SA") {
		return 1885;
	}
	

////////////////////////////////////////////////////////
///Water UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice20(ex) {
	//if (ex == "SA") {
		return 2112.50;
	}

	

////////////////////////////////////////////////////////
///Turn UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice21(ex) {
	//if (ex == "SA") {
		return 1170;
	}

	

////////////////////////////////////////////////////////
///Map UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice22(ex) {
	//if (ex == "SA") {
		return 1885;
	}




////////////////////////////////////////////////////////
///Map VIEW UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice23(ex) {
	//if (ex == "SA") {
		return 975;
	}


	

////////////////////////////////////////////////////////
///CAD UPGRADE AND SUPPORT CONTRACTS prices in South African RANDS
////////////////////////////////////////////////////////
function getPrice24(ex) {
	//if (ex == "SA") {
		return 1365;
	}







/////////////////////////////
//The courier price in RANDS
////////////////////////////
function courier() {
	return 650;
}





////////////////////////////////////////////////////////
///Discounts, as a %
////////////////////////////////////////////////////////
function getDiscount(units, desc, ex) {
// Note: It is important to work your way down from max to min amounts!

var max_units = 50;

/*
if (units >= max_units) return 50; 
if (units >= 40) return 45;
if (units >= 30) return 40;
if (units >= 20) return 35;
if (units >= 15) return 30;
if (units >= 10) return 25;
if (units >= 6) return 20;
if (units >= 3) return 15;
if (units == 2) return 10;
if (units == 1) return 0;
if (units <= 0) return 0;
*/


if (units == 1) return 0;
if (units == 2) return 5.0000;
if (units == 3) return 8.3333;
if (units == 4) return 10.0000;
if (units == 5) return 11.0000;
if (units == 6) return 12.5000;
if (units == 7) return 13.5714;
if (units == 8) return 14.3750;
if (units == 9) return 15.0000;
if (units == 10) return 16.0000;
if (units == 11) return 16.8182;
if (units == 12) return 17.5000;
if (units == 13) return 18.0769;
if (units == 14) return 18.5714;
if (units == 15) return 19.3333;
if (units == 16) return 20.0000;
if (units == 17) return 20.5882;
if (units == 18) return 21.1111;
if (units == 19) return 21.5789;
if (units == 20) return 22.2500;
if (units == 21) return 22.8571;
if (units == 22) return 23.4091;
if (units == 23) return 23.9130;
if (units == 24) return 24.3750;
if (units == 25) return 24.8000;
if (units == 26) return 25.1923;
if (units == 27) return 25.5556;
if (units == 28) return 25.8929;
if (units == 29) return 26.2069;
if (units == 30) return 26.6667;
if (units == 31) return 27.0968;
if (units == 32) return 27.5000;
if (units == 33) return 27.8788;
if (units == 34) return 28.2353;
if (units == 35) return 28.5714;
if (units == 36) return 28.8889;
if (units == 37) return 29.1892;
if (units == 38) return 29.4737;
if (units == 39) return 29.7436;
if (units == 40) return 30.1250;
if (units == 41) return 30.4878;
if (units == 42) return 30.8333;
if (units == 43) return 31.1628;
if (units == 44) return 31.4773;
if (units == 45) return 31.7778;
if (units == 46) return 32.0652;
if (units == 47) return 32.3404;
if (units == 48) return 32.6042;
if (units == 49) return 32.8571;
if (units >= 50) return 33.2000;

}



