

//JSScript from default.cfm
function copy_obj(o){
	  	var c = new Object();
		
		for (var e in o) {
			c[e] = o[e];
		}
		return c;
	  }
	  
function buildArray(lgt) {
    for (var i=0; i<= lgt; i++) this[i]=0;
    this.length = lgt;
    return this;
};

function buildGSpot(mlongtitude,mlatitude, mhtml, mstreet,mcity,mzip,mcolor) { 
    this.longitude=mlongtitude;
    this.latitude=mlatitude;
	this.html = mhtml;
  	this.address = mstreet;
	this.city = mcity;
	this.zip = mzip;
	this.color = mcolor;
    return this;
};

function buildCenterSpot(mlongtitude,mlatitude, mhtml) { 
    this.longitude=mlongtitude;
    this.latitude=mlatitude;
	this.html = mhtml;
  	
	return this;
};





//JSScript from dispSearch.cfm
function showLarge(){
	document.getElementById("divLIMG").style.display="";
	var pos=new Array(2);
	pos=findPos(document.regImage);
	var tLeft=pos[0];
	var tTop=pos[1];
	document.getElementById("divLIMG").style.top=tTop;
	document.getElementById("divLIMG").style.left=tLeft;
}

function hideLarge(){
	
	document.getElementById("divLIMG").style.display="none";
}
