
var cFile = new Array();
var pURL = getURLParam("currfile");
var sSplit;																		
var iX = 0;
if (pURL == "")
    pURL = "front-yard_mj.ivr";


//Please change the following values.
//If you have more than 6 tours, just copy the previous line (i.e. cFile[5])
//and increment the value 5 by 1.
//The equal sign is the split between the file name and the description
cFile[0] = "front-yard_mj.ivr=Front Yard";
cFile[1] = "living-room_mj.ivr=Living Room";
cFile[2] = "kitchen_mj.ivr=Kitchen";
cFile[3] = "dining-room_mj.ivr=Dining Room";
cFile[4] = "back_yard_mj.ivr=Back Yard";
cFile[5] = "hall_mj.ivr=Hall";


 
	




//Title of the listing (please keep it short)
//Don't forget all statements must end with a semi-colon.
var sTitle = "Waterfront Beauty";

//Description of listing
//Please use <br> for line breaks.  Two <br>'s will create a blank line.
var sListing = "Amazing Lake Whatcom waterfront views from this 4-plus bedroom home. Decks on all levels, hardwood floors in the dining, kitchen, and living areas. Skylights let the warm passive sunlight in for an open bright living quarters. The master suite features a jet tub. Additional features include a large shop, an attached mother-in-law apartment, RV parking, and too many others to list. Close to I-5.";


//Home abbreviated information
var sOffer = "$579,000";
var sMLS   = "2402249";
var sBeds  = "4";
var sBaths = "3.75";
var sAcres = ".5";
var sSqFt  = "4,000";



//Do you have a floor plan?  Please enter "Y" or "N"  (case sensitive)
//If you enter "Y" not "y", please don't forget to name your image floorplan.jpg and place in the images folder
var bFloorPlanExist = "N";

//Do you have a video tour?  Please enter "Y" or "N"  (case sensitive)
//Make sure your video tour is named  in the variable sVideoFile
var bVTourExist = "N";
var sVideoFile = "videotour.mov";

//Do you have a google, yahoo, or mapquest map?  Please enter "Y" or "N" (case sensitive)
//If you enter "Y", please enter the map image file name.  Place the map file in the images directory.
var bMapExist = "Y";
var sMapImage = "mapimage.gif";

//Do you have a audio tour?  Please enter "Y" or "N" (case sensitive)
//Make sure your audio tour is named  audiotour.wma OR audiotour.mp3
var bATourExist = "N";

function changeWindow(value){
if (value != 'Category'){
window.location=value;
}
}
function getURLParam(strParamName){
  var strReturn = "";
  var strHref = window.location.href;
  if ( strHref.indexOf("?") > -1 ){
    var strQueryString = strHref.substr(strHref.indexOf("&")).toLowerCase();
    var aQueryString = strQueryString.split("&");
    for ( var iParam = 0; iParam < aQueryString.length; iParam++ ){
      if (
aQueryString[iParam].indexOf(strParamName + "=") > -1 ){
        var aParam = aQueryString[iParam].split("=");
        strReturn = aParam[1];
        break;
      }
    }
  }
  return strReturn;
}


function openVT()
{
	
window.open("getvideo.html", "_self")
}


