File: view-doc.pictures.medias-footer.js
///*******************************************************************************
// * Copyright (c) 2017 Genialist Software Ltd.
// * All rights reserved.
// ******************************************************************************/
setTimeout(function() {
var x = pElement.x('pictures');
if (x) {
if (pROSE.getProp('view-user-advanced-show-images'))
if (!pDocument.componentIsShown(x))
pDocument.show(x);
pPictureGallery = new pPictureGalleryInstance('default', x);
//*** START
var s = pLocation.getQueryParameter(pROSE.query_param_autostart, '');
var i_state = pDocument.getHistoryState('view-item');
if (i_state!=null && i_state.n)
pPictureGallery.autostart = i_state.n;
else if (s != '')
pPictureGallery.autostart = s;
else if (pROSE.getProp('view-user-advanced-play-images') === true)
pPictureGallery.autostart = 0;
pPictureGallery.update();
}
}, 0);
/******************************************************************************/
/*** END OF FILE ************************************************************/
/******************************************************************************/