// JavaScript Document

var lotList = new Array(0, 2, 3, 4, 5, 8, 9, 11, 13, 15, 19, 22, 23, 26, 27);

function viewProperty(prty){
	
	/*
	for(var i = 0; i < lotList.length; i++){
		
		prptyname = 'lot-' + prty;
		
		document.getElementById('lot-' + lotList[i]).style.height= "0px";
		document.getElementById('lot-' + lotList[i]).style.overflow= "hidden";
	}	
	
	document.getElementById(prptyname).style.height= "auto";
	document.getElementById(prptyname).style.overflow= "auto";
	*/
	viewProperty2(prty);
}


	

	function viewProperty2(prty) {
	
		/* Call a function registered as callPlayBall in the SWF named myMovie. */
	
		
		getMovieName("StoneBridgeMap").gotoLotNum(prty);
			
	
	}
    
	/* This utility function resolves the string movieName to a Flash object reference based on browser type. */
	function getMovieName(movieName) {
		
		if (navigator.appName.indexOf("Microsoft") != -1) {
			
			return window[movieName];
		} else {
			
			return document[movieName];
		}
	}
