<!--

// Function to 'activate' images.
function imgOn(imgName) {
        if (document.images) {
            document.images[imgName].src = eval(imgName + "on.src"); 
        }
}
// Function to 'deactivate' images.
function imgOff(imgName) {
        if (document.images) {
            document.images[imgName].src = eval(imgName + "off.src");
        }
}


function popWindow(windowTitle, windowURL, windowHeight, windowWidth)

{
	var linkSite = windowURL

	editSiteNoteWin=dhtmlmodal.open("tempWindow", "iframe", linkSite, windowTitle, "width=" +  windowWidth + ",height=" + windowHeight + ",resize=1,scrolling=1,center=1", "recal")
	
	editSiteNoteWin.onclose=function()
	{ //Run custom code when window is being closed (return false to cancel action)
		return parent.location.href = parent.location.href;
		
		return true; //confirm('Are you sure you want to close this window?');
	}
}

function popWindow2(windowTitle, windowURL, windowHeight, windowWidth)

{
	var linkSite = windowURL

	editSiteNoteWin=dhtmlmodal.open("tempWindow", "iframe", linkSite, windowTitle, "width=" +  windowWidth + ",height=" + windowHeight + ",resize=1,scrolling=1,center=1", "recal")
	
	editSiteNoteWin.onclose=function()
	{ 
		return true; 
	}
}
// -->