function galleria(initialize) { if (initialize) { $('.gallery').galleria( { history : false, clickNext : true, onImage : function(image, caption, thumb) { var _li = thumb.parents('li'); image.css('display', 'none').fadeIn(1000); _li.siblings().children('img.selected').fadeTo(500, 0.3); thumb.fadeTo('fast', 1).addClass('selected'); }, onThumb : function(thumb) { var _li = thumb.parents('li'); var _fadeTo = _li.is('.active') ? '1' : '0.3'; thumb.css({display:'none',opacity:_fadeTo}).fadeIn(1500); thumb.hover ( function() { thumb.fadeTo('fast', 1); }, function() { _li.not('.active').children('img').fadeTo('fast', 0.3); } ) } }); $('.galleria').css('width', $('.galleria li').length * 78); } else { $('.galleria_container').parent('div').html(''); } return; } function setMenuColours() { var colours = ['#d50091', '#c8fa00', '#00b4ff', '#b158fc', '#ffa800', '#00b72f']; var colourCount = 0; $('li.menu-header').each(function() { $(this).children('a').css({'color': colours[colourCount++], 'opacity': 0.3}); }); return; } function setImages(type) { var image = ''; var galleryImages = new Object(); galleryImages['portraits'] = ['http://jhpv.com.au/images/gallery/PORTRAITS/PORT-01.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORT-02.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORT-03.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-01_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-02_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-03_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-04_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-06_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-07_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-08_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-09_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-10_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-11_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-12_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-13_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-14_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-15_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-16_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-17_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-18_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-19_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-20_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-21_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-22_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-23_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-24_resize.jpg', 'http://jhpv.com.au/images/gallery/PORTRAITS/PORTRAIT-25_resize.jpg'] galleryImages['landscapes'] = ['http://jhpv.com.au/images/gallery/LANDSCAPES/webValleyRoad_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webMandurahRivermouth_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webRobertsPoint_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webBlueBayApartments_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webDolphinPool_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/scan0074_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/BlueBayApartments2_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webSandsfury_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webSheetSunrise_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webRivermouthSunrise2_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webSingleBeauty_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webEstuarystrikes_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webFlaconBay_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webWHATthe_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webDoddiesHallsHead_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/PRESS2001WINNER_resize.jpg', 'http://jhpv.com.au/images/gallery/LANDSCAPES/webHeavensFury_resize.jpg'] galleryImages['dance-festivals'] = ['http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-01.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-02.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-03.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-04.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-05.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-06.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-07.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-08.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-09.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-10.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-11.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-12.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-13.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-14.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-15.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-16.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-17.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-18.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-19.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-20.jpg', 'http://jhpv.com.au/images/gallery/DANCE FESTIVALS/D-21.jpg'] galleryImages['weddings-bridal-party'] = ['http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-01.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-02.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-03.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-04.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-05.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-06.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-07.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-08.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-09.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-10.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-11.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-12.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-13.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-14.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-15.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-16.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-17.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-18.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-19.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-20.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-21.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-22.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-23.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-24.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-25.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-26.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-27.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-28.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-29.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-30.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-31.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-32.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-33.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-34.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-35.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-36.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-37.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-38.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-39.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-40.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-41.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDAL PARTY/Bridal-Party-Set-1-42.jpg'] galleryImages['weddings-bride'] = ['http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-001.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-002.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-003.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-004.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-005.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-006.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-007.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-008.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-009.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-010.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-011.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-012.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-013.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-014.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-015.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-016.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-017.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-018.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-019.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-01_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-020.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-021.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-022.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-023.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-024.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-025.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-02_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-03_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-04_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-05_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-06_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-07_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-08_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-09_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-10_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-11_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-12_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-13_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-14_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-15_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-16_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-17_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-18_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-19_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-20_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-21_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-22_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-23_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-24_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-25_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-26_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-27_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-28_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-29_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-30_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-31_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-32_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-33_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-34_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-35_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-36_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-37_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-38_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-39_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-40_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-41_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-42_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-43_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-44_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-45_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/BRIDE/BRIDE-46_resize.jpg'] galleryImages['weddings-ceremony'] = ['http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0001.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0002.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0003.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0004.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0005.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0006.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0007.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0008.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0009.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0010.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0011.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0012.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0013.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0014.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0015.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0016.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0017.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0018.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0019.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0020.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0021.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0022.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0023.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-0024.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-01_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-02_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-03_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-04_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-05_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-06_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-07_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-08_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-09_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-10_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-11_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-12_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-13_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-14_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-15_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-16_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-17_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-18_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-19_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-20_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-21_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-22_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-23_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/CEREMONY/CEREMONY-24_resize.jpg'] galleryImages['weddings-groom'] = ['http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0001.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0002.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0003.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0004.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0005.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0006.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0007.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0008.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0009.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0010.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0011.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0012.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0013.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0014.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0015.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0016.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0017.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0018.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0019.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0020.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0021.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0022.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0023.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0024.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0025.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-0026.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-01_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-02_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-03_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-04_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-05_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-06_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-07_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-08_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-09_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-10_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-11_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-12_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-13_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-14_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-15_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-16_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-17_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-18_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-19_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-20_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-21_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-22_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-23_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-24_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-25_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-26_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-27_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-28_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/GROOM/GROOM-29_resize.jpg'] galleryImages['weddings-photoshoot'] = ['http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0001.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0002.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0003.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0004.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0005.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0006.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0007.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0008.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0009.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0010.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0011.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0012.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0013.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0014.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0015.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0016.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0017.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0018.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0019.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0020.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0021.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0022.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0023.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0024.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0025.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0026.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0027.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0028.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0029.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0030.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0031.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0032.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0033.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0034.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0035.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0036.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0037.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0038.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0039.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0040.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0041.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0042.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0043.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-0044.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-01_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-02_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-03_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-04_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-05_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-06_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-07_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-08_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-09_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-10_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-11_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-12_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-13_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-14_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-15_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-16_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-17_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-18_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-19_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-20_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-21_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-22_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-23_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-24_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-25_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-26_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-27_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-28_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-29_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-30_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-31_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-32_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-33_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-34_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-35_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-36_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-37_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-38_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-39_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-40_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-41_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-42_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-43_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-44_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-45_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-46_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-47_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-48_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-49_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/PHOTOSHOOT/PSHOOT-50_resize.jpg'] galleryImages['weddings-reception'] = ['http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0001.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0002.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0003.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0004.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0005.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0006.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0007.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0008.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0009.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0010.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0011.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0012.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0013.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0014.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0015.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0016.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0017.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0018.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0019.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0020.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0021.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0022.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0023.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0024.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0025.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0026.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-0027.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-01_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-02_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-03_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-04_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-05_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-06_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-07_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-08_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-09_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-10_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-11_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-12_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-13_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-14_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-15_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-16_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-17_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-18_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-19_resize.jpg', 'http://jhpv.com.au/images/gallery/WEDDINGS/RECEPTION/RECEPTION-20_resize.jpg'] for (var i = 0; i < galleryImages[type].length; i++) { if (i == 0) image += '
  • '; else image += '
  • '; } $('ul.gallery').html(image); return; } function startScrollThumbs() { // Thumbnail scroller $('ul.gallery').wrap('
    '); $('.galleria_container span.arrow').hover(function() { var direction = ($(this).hasClass('left')) ? '-=' : '+='; $('.thumb-scroll').animate({scrollLeft: direction + $('ul.gallery').css('width')}, 10000); }, function() { $('.thumb-scroll').stop(); }); return; } function startScrollContent() { $opened = $('.haccordion-opened'); $content = $('.haccordion-opened .padding'); // Only add the scroll arrows if the the content isn't the gallery and they aren't already there. if ($opened.prev('.header').find('div').attr('title') != 'photogallery' && $opened.find('span.arrow').length == 0) { $opened.append(''); $opened.find('span.arrow').hover(function() { var direction = ($(this).hasClass('up')) ? '-=' : '+='; $content.scrollTo((direction + ($content.height() + 50) + 'px'), {duration:3000}); }, function() { $content.stop(); }); } return; } function startGallery(album) { var arrowLeft = ''; var arrowRight = ''; // Kill all traces of Galleria then load up the images. Then... Start Galleria again >_> galleria(0); setImages(album); galleria(1); $('.galleria_container').append(arrowLeft + arrowRight); // Gallery has been loaded so add the scrollbars - If required. if ($('.galleria li').length > 6) { startScrollThumbs(); } } /* ---- Menu Colours ---- */ $(document).ready(function() { // On page load, set the initial colours setMenuColours(); // When the user opens the photogallery, make the menu text white $('.header').click(function() { if ($(this).find('div').attr('title') != 'photogallery') { // Small check to see if the menu colours aren't already set if ($('li.menu-header > a:eq(2)').css('color') != 'rgb(0, 180, 255)') setMenuColours(); } else { // Set the menu text back white and apply the hover effect $('li.menu-header > a').css({'color': '#B6B6B6', 'opacity': 1.1}); } }); var menuOption = ''; $('li.menu-header > a').hover(function() { // If the menu is white (in the gallery): if ($(this).css('color') == 'rgb(182, 182, 182)') { $(this).css({'color': '#D50091', 'opacity': 1.1}); menuOption = 0; } // If the menu is colourful: else { $(this).css('opacity', 1.1); menuOption = 1; } }, function() { if (menuOption) { $(this).css('opacity', 0.3); } else { $(this).css({'color': '#B6B6B6', 'opacity': 1.1}); } }); }); $(document).ready(function() { // Start the accordion $('.haccordion .content').css('opacity', '0.0'); $('.haccordion').haccordion(); $('.haccordion .header').click(function() { $('#header h1').animate({'opacity': 1.1}, 1000); $('#footer .span1').animate({'opacity': 0.1}, 1000); $('#accordion').css('backgroundImage', 'none'); window.location.hash = $(this).find('div').attr('title'); // If they click the gallery panel, load it up if ($(this).find('div').attr('title') == 'photogallery') { startGallery('weddings-bridal-party'); } }); // Gallery menu selector $('ul.menu-horiz li').click(function() { if ($(this).attr('rel').length != 0) { $('.header:eq(5)').click(); startGallery($(this).attr('rel')); } }); // Initialise some things on the home page load $('#header h1').css('opacity', '0.1'); $('.haccordion .header > div[title="' + window.location.hash.substring(1) + '"]').click(); });