
function runSlideShow(){
    if(typeof(document.images.PictureBox) == "undefined")
    {
        return;
    }
	    if(typeof(document.images.PictureBox2) == "undefined")
    {
        return;
    }

    if (document.all){
        document.images.PictureBox.style.filter="blendTrans(duration=2)";
        document.images.PictureBox.style.filter="blendTrans(duration=CrossFadeDuration)";
        document.images.PictureBox.filters.blendTrans.Apply();
        document.images.PictureBox2.style.filter="blendTrans(duration=2)";
        document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
        document.images.PictureBox2.filters.blendTrans.Apply();

    }

    if (document.getElementById) // If we`re not in Netscape 4.x
    {
        document.images.PictureBox.src = preLoad[jss].src;
        
		//if (document.getElementById) document.getElementById("featCode").innerHTML    = featCode[jss];
		//if (document.getElementById) document.getElementById("featTitle").innerHTML    = featTitle[jss];
//        if (document.getElementById) document.getElementById("featLocation").innerHTML = featLocation[jss];
//        if (document.getElementById) document.getElementById("featBed").innerHTML      = featBed[jss];
//        if (document.getElementById) document.getElementById("featBath").innerHTML     = featBath[jss];
        if (document.getElementById) document.getElementById("featPrice").innerHTML    = featPrice[jss];
        if (document.getElementById) document.getElementById("featcategory").innerHTML   = featCategory[jss];
        if (document.all) document.images.PictureBox.filters.blendTrans.Play();
       // if (document.all) document.images.PictureBox2.filters.blendTrans.Play();

       // featID = featIDArray[jss];

        jss = jss + 1;
        if (jss > (pss)) jss=1;
        tss = setTimeout('runSlideShow()', SlideShowSpeed);
    }
}

function openFeatProp(target)
{
    location.href = target + featID;
}




function runSlideShow2(){
    if(typeof(document.images.PictureBox2) == "undefined")
    {
        return;
    }
	    if(typeof(document.images.PictureBox2) == "undefined")
    {
        return;
    }

    if (document.all){
        document.images.PictureBox2.style.filter="blendTrans(duration=2)";
       	document.images.PictureBox2.style.filter="blendTrans(duration=CrossFadeDuration)";
        document.images.PictureBox2.filters.blendTrans.Apply();
       
    }

    if (document.getElementById) // If we`re not in Netscape 4.x
    {
        document.images.PictureBox2.src = preLoad2[jss2].src;
		//if (document.getElementById) document.getElementById("featCode").innerHTML    = featCode[jss];
		//if (document.getElementById) document.getElementById("featTitle").innerHTML    = featTitle[jss];
//        if (document.getElementById) document.getElementById("featLocation").innerHTML = featLocation[jss];
//        if (document.getElementById) document.getElementById("featBed").innerHTML      = featBed[jss];
//        if (document.getElementById) document.getElementById("featBath").innerHTML     = featBath[jss];
        //if (document.getElementById) document.getElementById("featPrice").innerHTML    = featPrice[jss];
        //if (document.getElementById) document.getElementById("featcategory").innerHTML   = featCategory[jss];
        if (document.all) document.images.PictureBox2.filters.blendTrans.Play();

       // featID2 = featIDArray2[jss2];

        jss2 = jss2 + 1;
        if (jss2 > (pss2)) jss2=1;
        tss2 = setTimeout('runSlideShow2()', SlideShowSpeed);
    }
}

function openFeatProp2(target)
{
    location.href = target + featID2;
}


function checkForSearchCriteria(frm)
{
    return true;
}

///////////////////////////
// Broken-Image Prevention
function ImageLoadFailed(target, replacement) {
    target.src = replacement;
}


