var origClass;

function getControl(DOM_ID)
{
	if (document.getElementById)
	{
		// this is the way the standards work
		return document.getElementById(DOM_ID);
	}
		else if (document.all)
	{
		// this is the way old msie versions work
		return document.all[DOM_ID];
	}
		else if (document.layers)
	{
		// this is the way nn4 works
		return document.layers[DOM_ID];
	}	
}

function setLargeImage(File)
{
var el = getControl('LargeImage');
el.src=File;
}

function LoadDetail(path)
{
var loader1=new net.ContentLoader('/Land/AjaxLandListingDetail.aspx?Path='+path,setDiv,null,'GET',null,null);
}

function setDiv()
{
var curConsole=getControl('LandListingDetail');
curConsole.innerHTML="<div align='center'>-- This is a preview, click to see the full listing. --</div>" + this.req.responseText;
}

