var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654324&x=5842',
		'title': '',
		'imageId': '67654324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654325&x=5842',
		'title': '',
		'imageId': '67654325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654326&x=5842',
		'title': '',
		'imageId': '67654326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654327&x=5842',
		'title': '',
		'imageId': '67654327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654328&x=5842',
		'title': '',
		'imageId': '67654328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654329&x=5842',
		'title': '',
		'imageId': '67654329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654330&x=5842',
		'title': '',
		'imageId': '67654330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654331&x=5842',
		'title': '',
		'imageId': '67654331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654332&x=5842',
		'title': '',
		'imageId': '67654332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654333&x=5842',
		'title': '',
		'imageId': '67654333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654334&x=5842',
		'title': '',
		'imageId': '67654334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910705&docid=67654335&x=5842',
		'title': '',
		'imageId': '67654335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910705';

document.body.style.overflow = "hidden";
var closeElement = document.querySelector("#lightbox #close");
var closeLoadingElement = document.querySelector("#lightbox #closeLoading");

if (closeElement) {
	closeElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}

if (closeLoadingElement) {
	closeLoadingElement.addEventListener("click", function() {
		document.body.style.overflow = "auto";
	})
}
