// JavaScript Document
	var standardMax = 27; // Change this number when more standard photos are available
	var standardMin = 1; // Change this number if you want to skip 1 or more standard photos
	var wideMax = 18; // Change this number when more wide photos are available 
	var wideMin = 1; // Change this number if you want to skip 1 or more wide photos
	var standard0 = 0; // I needed to put this in to stop it from blowing up
	var wide0 = 0; // I needed to put this in to stop it from blowing up
	var reserved = "standard12"; // Photo 12 can currently ONLY be used on the main page
	
	function photoRandomizer(type,number) {
		for (i=1;i<=number;i++) {
			if (eval(type+i)==0) {
				var toTest = "'" + type + "' + " + type+i + "==" + "'" + reserved + "'";
				for (j=i-1;j>0;j--) {
					toTest = toTest + "||" + type+i + "==" + type+j;
				}

				do {
					eval(type + i + "= Math.round(Math.random()*(" + eval(type+"Max") + "-" + eval(type+"Min") + "))+" + eval(type+"Min"));
				} while (eval(toTest));
			}
		}
	}
