
// POP-UP WINDOW

function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}

// NEW POP-UP WINDOW

function popUp(URL) {
day = new Date();
id = day.getTime();
eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=500,height=370');");
}

// PRINT PAGE

function printWindow(){
   bV = parseInt(navigator.appVersion)
   if (bV >= 4) window.print()
}


    
// AA  - SLIDESHOW -------------------------

// Set Speed (milliseconds)
var AASpeed = 3000;
// Duration of crossfade (seconds)
var AAcrossFadeDuration = 9;
// Specify the image files
var AAPic = new Array();
// to add more images, just continue
// the pattern, adding to the array below

AAPic[0] = 'images/sl_lounge1.jpg'
AAPic[1] = 'images/sl_bed1.jpg'
AAPic[2] = 'images/sl_kitch.jpg'
AAPic[3] = 'images/sl_aln_castle.jpg'
AAPic[4] = 'images/sl_puffin.jpg'
AAPic[5] = 'images/sl_squirrel.jpg'
AAPic[6] = 'images/sl_text_sun.jpg'
AAPic[7] = 'images/sl_01_blank.gif'

// do not edit anything below this line
var AAt;
var AAj = 0;
var AAp = AAPic.length;
var AApreLoad = new Array();
for (AAi = 0; AAi < AAp; AAi++) {
AApreLoad[AAi] = new Image();
AApreLoad[AAi].src = AAPic[AAi];
}
function runAA() {
if (document.all) {
document.images.AA.style.filter="blendTrans(duration=2)";
document.images.AA.style.filter="blendTrans(duration=AAcrossFadeDuration)";
document.images.AA.filters.blendTrans.Apply();
}
document.images.AA.src = AApreLoad[AAj].src;
if (document.all) {
document.images.AA.filters.blendTrans.Play();
}
AAj = AAj + 1;
if (AAj > (AAp - 1)) AAj = 0 ;
AAt = setTimeout('runAA()', AASpeed);
}

