<!-- 
// ROLLOVERS

function newImage(arg) {
	if (document.images) {
		rslt = new Image();
		rslt.src = arg;
		return rslt;
	}
}

function changeImages() {
	if (document.images && (preloadFlag == true)) {
		for (var i=0; i<changeImages.arguments.length; i+=2) {
			document[changeImages.arguments[i]].src = changeImages.arguments[i+1];
		}
	}
}

var preloadFlag = false;
function preloadImages() {
	if (document.images) {
		icon_on = newImage("image/icon_on.gif");
		preloadFlag = true;
	}
}


// LISTING POPUP
function popup(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=800,height=650,left=0,top=0,toolbar=no,location=yes,status=yes,menubar=yes,scrollbars=yes,resizable=yes,dependent=yes');
return false;
}


// PHOTO POPUP
function popup2(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=650,height=650,left=450,top=0,toolbar=no,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,dependent=yes');
return false;
}


// FAIR HOUSING POPUP
function popup3(mylink, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(mylink) == 'string')
   href=mylink;
else
   href=mylink.href;
window.open(href, windowname, 'width=800,height=650,left=200,top=0,toolbar=no,location=no,status=yes,menubar=yes,scrollbars=yes,resizable=yes,dependent=yes');
return false;
}


// POPUP BRING TO FRONT
window.focus();


function targetopener(mylink, closeme, closeonly)
{
if (! (window.focus && window.opener))return true;
window.opener.focus();
if (! closeonly)window.opener.location.href=mylink.href;
if (closeme)window.close();
return false;
}

//-->



