// BEGIN FUNCTION
	// Random(int x) will return a random number between 0 and X
	
	function Random(anInt) {
		var randomnumber=Math.floor(Math.random()*anInt);
		return(randomnumber);
	}
	// END FUNCTION



// BEGIN FUNCTION
	// Random Image Will Be Generated, arg is X where random image will be between 0 and X
	// Returns the image path from the internal array of the random image
	
	function RandomFam() {
		
	// Variable Definations
		var picture = new Array();
		picture[0]= "/images/family0.jpg";
		picture[1]= "/images/family1.jpg";
		picture[2]= "/images/family2.jpg";
		picture[3]= "/images/family3.jpg";

		
		var random1 = Random(4);
		
		return (picture[random1]);
		
	}
	
	// END FUNCTION
	
	
	
	
	
	// BEGIN FUNCTION

	
	function RandomFamily(File) {
		
				if (File == "") {
				document.write("<img style='margin:0; padding:0; position:absolute; top:180px; left:760px;' src="+ RandomFam() + " " );
			}
			else {
				
				document.write("<img style='margin:0; padding:0; position:absolute; top:180px; left:760px;' src="+ File + " " );
			}
		
		
	}
	
	// END FUNCTION
	
	
	
