// Script Source: CodeLifter.com
// Copyright 2003
// Do not remove this notice.
// SETUPS:
// ===============================
// Set the horizontal and vertical position for the popup
PositionX = 100;
PositionY = 100;
// Set these value approximately 20 pixels greater than the
// size of the largest image to be used (needed for Netscape)
defaultWidth = 400;
defaultHeight = 400;
// Set autoclose true to have the window close automatically
// Set autoclose false to allow multiple popup windows
var AutoClose = true;
// Do not edit below this line...
// ================================
if (parseInt(navigator.appVersion.charAt(0))>=4){
var isNN=(navigator.appName=="Netscape")?1:0;
var isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}
var optNN='scrollbars=no,width='+defaultWidth+',height='+defaultHeight+',left='+PositionX+',top='+PositionY;
var optIE='scrollbars=no,width=150,height=100,left='+PositionX+',top='+PositionY;
function popImage(imageURL,imageTitle){
if (isNN){imgWin=window.open('about:blank','',optNN);}
if (isIE){imgWin=window.open('about:blank','',optIE);}
with (imgWin.document){
writeln('
Loading...');writeln('');
writeln('var isNN,isIE;');writeln('if (parseInt(navigator.appVersion.charAt(0))>=4){');
writeln('isNN=(navigator.appName=="Netscape")?1:0;');writeln('isIE=(navigator.appName.indexOf("Microsoft")!=-1)?1:0;}');
writeln('function reSizeToImage(){');writeln('if (isIE){');writeln('window.resizeTo(100,100);');
writeln('width=100-(document.body.clientWidth-document.images[0].width);');
writeln('height=100-(document.body.clientHeight-document.images[0].height);');
writeln('window.resizeTo(width,height);}');writeln('if (isNN){');
writeln('window.innerWidth=document.images["George"].width;');writeln('window.innerHeight=document.images["George"].height;}}');
writeln('function doTitle(){document.title="'+imageTitle+'";}');writeln('');
if (!AutoClose) writeln('')
else writeln('');
writeln('
');
close();
}}
//-----
//thanks to http://www.vortex-webdesign.com/help/rollover_sample2.htm
if (document.images) { // Active Images
img1on = new Image();
img1on.src = "/Scripts/img/nav_perf_on.gif";
img2on = new Image();
img2on.src = "/Scripts/img/nav_classes_on.gif";
img3on = new Image();
img3on.src = "/Scripts/img/nav_gallery_on.gif";
img4on = new Image();
img4on.src = "/Scripts/img/nav_after_on.gif";
img5on = new Image();
img5on.src = "/Scripts/img/nav_home_on.gif";
img6on = new Image();
img6on.src = "/Scripts/img/nav_about_on.gif";
img7on = new Image();
img7on.src = "/Scripts/img/nav_links_on.gif";
img8on = new Image();
img8on.src = "/Scripts/img/nav_contact_on.gif";
img9on = new Image();
img9on.src = "/Scripts/img/nav_thornes_on.jpg";
img1off = new Image();
img1off.src = "/Scripts/img/nav_perf_off.gif";
img2off = new Image();
img2off.src = "/Scripts/img/nav_classes_off.gif";
img3off = new Image();
img3off.src = "/Scripts/img/nav_gallery_off.gif";
img4off = new Image();
img4off.src = "/Scripts/img/nav_after_off.gif";
img5off = new Image();
img5off.src = "/Scripts/img/nav_home_on.gif";
img6off = new Image();
img6off.src = "/Scripts/img/nav_about_off.gif";
img7off = new Image();
img7off.src = "/Scripts/img/nav_links_off.gif";
img8off = new Image();
img8off.src = "/Scripts/img/nav_contact_off.gif";
img9off = new Image();
img9off.src = "/Scripts/img/nav_thornes_off.jpg";
}
// Function to 'activate' images.
function imgOn(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "on.src");
}
}
// Function to 'deactivate' images.
function imgOff(imgName) {
if (document.images) {
document[imgName].src = eval(imgName + "off.src");
}
}
// email button
function goToURL() { window.location = "mailto:apearts@crocker.com?subject=Add me to the mailing list"; }