// JavaScript Document
var ImgNum = 0;
//Time delay between Slides in milliseconds
var delay = 1500;
var lock = false;
var run;
var windowStatus = "Starting Slideshow                                         >>>>>>>>>>>";
//Malad house  --------------------------------------------
A_malad = new Array (
"../images/3_Gallery/Interior/Malad_Interior/901.jpg","../images/3_Gallery/Interior/Malad_Interior/902.jpg","../images/3_Gallery/Interior/Malad_Interior/903.jpg","../images/3_Gallery/Interior/Malad_Interior/904.jpg","../images/3_Gallery/Interior/Malad_Interior/905.jpg","../images/3_Gallery/Interior/Malad_Interior/906.jpg","../images/3_Gallery/Interior/Malad_Interior/907.jpg","../images/3_Gallery/Interior/Malad_Interior/908.jpg","../images/3_Gallery/Interior/Malad_Interior/909.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9010.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9011.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9012.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9013.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9014.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9015.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9016.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9017.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9018.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9019.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9020.jpg",
"../images/3_Gallery/Interior/Malad_Interior/9021.jpg"
);
function I_malad(direction) {chgImg(	direction,A_malad);}

function AA_malad() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_malad(1)", delay);    }	}


//Paranjpe house  --------------------------------------------
A_paranjpe = new Array (
"../images/3_Gallery/Interior/Paranjpe/101.jpg",
"../images/3_Gallery/Interior/Paranjpe/102.jpg",
"../images/3_Gallery/Interior/Paranjpe/103.jpg",
"../images/3_Gallery/Interior/Paranjpe/104.jpg",
"../images/3_Gallery/Interior/Paranjpe/105.jpg",
"../images/3_Gallery/Interior/Paranjpe/106.jpg",
"../images/3_Gallery/Interior/Paranjpe/107.jpg",
"../images/3_Gallery/Interior/Paranjpe/108.jpg",
"../images/3_Gallery/Interior/Paranjpe/109.jpg",
"../images/3_Gallery/Interior/Paranjpe/110.jpg",
"../images/3_Gallery/Interior/Paranjpe/111.jpg",
"../images/3_Gallery/Interior/Paranjpe/112.jpg",
"../images/3_Gallery/Interior/Paranjpe/113.jpg",
"../images/3_Gallery/Interior/Paranjpe/114.jpg",
"../images/3_Gallery/Interior/Paranjpe/115.jpg"
);
function I_paranjpe(direction) {chgImg(	direction,A_paranjpe);}

function AA_paranjpe() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_paranjpe(1)", delay);    }	}

//Crompton -------------------------------------------------
A_Crompton = new Array (
"../images/3_Gallery/Interior/Crompton/101.jpg",
"../images/3_Gallery/Interior/Crompton/102.jpg",
"../images/3_Gallery/Interior/Crompton/103.jpg"
);
function I_Crompton(direction) {chgImg(	direction,A_Crompton);}

function AA_Crompton() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_Crompton(1)", delay);    }	}


//HelpageIndia -------------------------------------------------
A_HelpageIndia = new Array (
"../images/3_Gallery/Interior/helpageIndia/he1.jpg",
"../images/3_Gallery/Interior/helpageIndia/he2.jpg",
"../images/3_Gallery/Interior/helpageIndia/he3.jpg",
"../images/3_Gallery/Interior/helpageIndia/he4.jpg",
"../images/3_Gallery/Interior/helpageIndia/he5.jpg",
"../images/3_Gallery/Interior/helpageIndia/he6.jpg",
"../images/3_Gallery/Interior/helpageIndia/he7.jpg",
"../images/3_Gallery/Interior/helpageIndia/he8.jpg"
);
function I_HelpageIndia(direction) {chgImg(	direction,A_HelpageIndia);}

function AA_HelpageIndia() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_HelpageIndia(1)", delay);    }	}


//Crompton2 -------------------------------------------------
A_Crompton2 = new Array (
"../images/3_Gallery/Interior/Crompton2/cr1.jpg",
"../images/3_Gallery/Interior/Crompton2/cr2.jpg",
"../images/3_Gallery/Interior/Crompton2/cr3.jpg",
"../images/3_Gallery/Interior/Crompton2/cr4.jpg",
"../images/3_Gallery/Interior/Crompton2/cr5.jpg",
"../images/3_Gallery/Interior/Crompton2/cr6.jpg",
"../images/3_Gallery/Interior/Crompton2/cr7.jpg",
"../images/3_Gallery/Interior/Crompton2/cr8.jpg",
"../images/3_Gallery/Interior/Crompton2/cr9.jpg",
"../images/3_Gallery/Interior/Crompton2/cr10.jpg",
"../images/3_Gallery/Interior/Crompton2/cr11.jpg",
"../images/3_Gallery/Interior/Crompton2/cr12.jpg",
"../images/3_Gallery/Interior/Crompton2/cr13.jpg",
"../images/3_Gallery/Interior/Crompton2/cr14.jpg",
"../images/3_Gallery/Interior/Crompton2/cr15.jpg",
"../images/3_Gallery/Interior/Crompton2/cr16.jpg",
"../images/3_Gallery/Interior/Crompton2/cr17.jpg"
);
function I_Crompton2(direction) {chgImg(	direction,A_Crompton2);}

function AA_Crompton2() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_Crompton2(1)", delay);    }	}



//Thane house  --------------------------------------------
A_thane = new Array (
"../images/3_Gallery/Interior/rohini_bedekar/101.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/102.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/103.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/104.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/105.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/106.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/107.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/108.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/109.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/110.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/111.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/112.jpg",
"../images/3_Gallery/Interior/rohini_bedekar/113.jpg"
);
function I_thane(direction) {chgImg(	direction,A_thane);}

function AA_thane() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_thane(1)", delay);    }	}

//Jewellery shop --------------------------------------------
A_jewellery = new Array (
"../images/3_Gallery/Interior/Gore_JewelleryShop/501.jpg",
"../images/3_Gallery/Interior/Gore_JewelleryShop/502.jpg",
"../images/3_Gallery/Interior/Gore_JewelleryShop/503.jpg",
"../images/3_Gallery/Interior/Gore_JewelleryShop/504.jpg"
);

function I_jewellery(direction) {chgImg(	direction,A_jewellery);}

function AA_jewellery() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_jewellery(1)", delay);    }	}


//Bachani --------------------------------------------
A_bachani = new Array (
"../images/3_Gallery/Architectural/Bachani/bachani_3.JPG",
"../images/3_Gallery/Architectural/Bachani/bachani_4.JPG",
"../images/3_Gallery/Architectural/Bachani/bachani_5.JPG"
);

function I_bachani(direction) {chgImg(	direction,A_bachani);}

function AA_bachani() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_bachani(1)", delay);    }	}


//Bhatkar Kandivali --------------------------------------------
A_bhatkar = new Array (
"../images/3_Gallery/Interior/Bhatkar_Kandivili/101.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/102.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/103.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/104.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/106.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/107.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/108.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/109.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/110.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/111.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/112.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/114.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/115.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/116.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/117.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/118.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/119.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/120.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/121.jpg",
"../images/3_Gallery/Interior/Bhatkar_Kandivili/122.jpg"
);

function I_bhatkar(direction) {chgImg(	direction,A_bhatkar);}

function AA_bhatkar() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_bhatkar(1)", delay);    }	}

//Goa --------------------------------------------
A_goa = new Array (
"../images/3_Gallery/Architectural/Row_Houses/Row_House_Goa/201.jpg",
"../images/3_Gallery/Architectural/Row_Houses/Row_House_Goa/202.jpg"
);

function I_goa(direction) {chgImg(	direction,A_goa);}

function AA_goa() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_goa(1)", delay);    }	}

//Sanjay Patil --------------------------------------------
A_sanjaypatil = new Array (
"../images/3_Gallery/Architectural/sanjay_patil/sp1.jpg",
"../images/3_Gallery/Architectural/sanjay_patil/sp2.jpg"
);

function I_sanjaypatil(direction) {chgImg(	direction,A_sanjaypatil);}

function AA_sanjaypatil() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_sanjaypatil(1)", delay);    }	}

//Front Page  --------------------------------------------
A_frontPage = new Array (
"images/9_Intro_Page/110_f.jpg",
"images/9_Intro_Page/113_f.jpg",
"images/9_Intro_Page/112_f.jpg",
"images/9_Intro_Page/sp1_f.jpg",
"images/9_Intro_Page/504_f.jpg",
"images/9_Intro_Page/9014_f.jpg",
"images/9_Intro_Page/114_f.jpg"
);
function I_frontPage(direction) {chgImg(	direction,A_frontPage);}

function AA_frontPage() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_frontPage(1)", delay);    }	}


//Goregaon --------------------------------------------
A_goregaon = new Array (
"../images/3_Gallery/Architectural/Row_Houses/Row_House_Goregaon_1/101.jpg",
"../images/3_Gallery/Architectural/Row_Houses/Row_House_Goregaon_1/102.jpg",
"../images/3_Gallery/Architectural/Row_Houses/Row_House_Goregaon_2/103.jpg",
"../images/3_Gallery/Architectural/Row_Houses/Row_House_Goregaon_2/203.jpg"
);

function I_goregaon(direction) {chgImg(	direction,A_goregaon);}

function AA_goregaon() { if (lock == true) {lock = false; window.clearInterval(run);} else if (lock == false) {lock = true; window.status=windowStatus; run = setInterval("I_goregaon(1)", delay);    }	}

//Customized end --------------------------------------------

function chgImg(direction,a_Img) {
window.status=" ";
var ImgLength = a_Img.length - 1;
if (document.images) {
ImgNum = ImgNum + direction;
if (ImgNum > ImgLength) {
ImgNum = 0;
}
if (ImgNum < 0) {
ImgNum = ImgLength;
}
document.slideshow.src = a_Img[ImgNum];
   }
}
/*
function auto(a_Img1) {
if (lock == true) {
lock = false;
window.clearInterval(run);
}
else if (lock == false) {
lock = true;
run = setInterval("chgImg(1,'a_Img1')", delay);
   }
}
*/





