if (document.images) {rollovers = 1;}


function preloadimages() {
if (rollovers) {
}
}

function enlargeThumb(name,what,board) {
if (rollovers) {
document [what].src = name;
}
}
function enlargeThumbold(name,what,board) {
if (rollovers) {
document [what].src = "/photos/photos_"+board+"/" + name + ".jpg";
}
}

function enlargeThumb_2(name,what) {
if (rollovers) {
document [what].src = "http://www.mlsni.com/photos/property/" + name + ".jpg";
}
}

function enlargeThumb_13(name,what) {
if (rollovers) {
document [what].src = name;
}
}

function donothing(name) {
}

function arm(name) {
if (rollovers) {
document [name].src = "./images/" + name + "_1.jpg";
}
}

function drm(name) {
if (rollovers) {
document [name].src = "./images/" + name + "_0.jpg";
}
}

function armg(name) {
if (rollovers) {
document [name].src = "./images/" + name + "_1.gif";
}
}

function drmg(name) {
if (rollovers) {
document [name].src = "./images/" + name + "_0.gif";
}
}

function popupPhoto(thefile) {
	newWindow = window.open(thefile, "graphic" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=520,height=500")
	newWindow.focus();
}

function popupMap(thefile) {
	newWindow = window.open(thefile, "map" ,"statusbar=yes,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=620,height=600,screenx=10,left=10,screeny=10,top=10")
	newWindow.focus();
}

function popupTour(thefile) {
	newWindow = window.open(thefile, "virtualtour" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=420,height=400")
	newWindow.focus();
}

function popupTour2(thefile) {
	newWindow = window.open(thefile, "virtualtour" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=580,height=560")
	newWindow.focus();
}

function popupPrivacy() {
	newWindow = window.open('privacy_popup.cfm', "privacy" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=620,height=400")
	newWindow.focus();
}

function popupMortgage() {
	newWindow = window.open('mortgagecalculator.cfm', "privacy" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=520,height=500")
	newWindow.focus();
}

function popupGMACPremierPledge() {
	newWindow = window.open('popup_gmac_premier_pledge.html', "pledge" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=420,height=500")
	newWindow.focus();
}

function popupWindow(thefile) {
	newWindow = window.open(thefile, "window" ,"statusbar=no,menubar=no,location=no,scrollbars=yes,toolbar=no,directories=no,resizable=yes,width=520,height=500")
	newWindow.focus();
}

function bookmarksite(title, url){
if (document.all)
window.external.AddFavorite(url, title);
else if (window.sidebar)
window.sidebar.addPanel(title, url, "")
}


function printPage() {
if (window.print) {
	window.print();
}
else
	alert("Sorry, your browser doesn't support this feature. Pick Print from the File menu or use the keyboard equivalent.");
}

