<!--
/* Global functions for RealtyTech.com
Printing - printPage
NN4 resize bug - resizeFix
The javascript function printPage() is called from /includes/footer.asp, 
and it opens a window with content formatted such that it that will fit on a 
standard 8.5x11 sheet of paper when printed.  
*/
var printWin;
function printPage(thePath) {
printWin = window.open(thePath, 'printableWin','width=570,height=400,menubar=yes,toolbar=yes,scrollbars=yes');
printWin.focus();
}
/*
Workaround for a Netscape 4 bug that causes stylesheets to be corrupted when the window is resized.
*/
if (document.layers) {
var widthCheck = window.innerWidth;
var heightCheck = window.innerHeight;
window.onResize = resizeFix;
}
function resizeFix() {
with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)){
if (widthCheck != window.innerWidth || heightCheck != window.innerHeight)
document.location.href = document.location.href;
}}
}
function doClear(theText) {
if (theText.value == theText.defaultValue) {
theText.value = ""
}
}
function swapPhoto(imgTo){
document.photo.src = document[imgTo].src;
}
//-->