var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71643242&x=1625',
		'title': '',
		'imageId': '71643242',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71643244&x=1625',
		'title': '',
		'imageId': '71643244',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71643243&x=1625',
		'title': '',
		'imageId': '71643243',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71643241&x=1625',
		'title': '',
		'imageId': '71643241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71643245&x=1625',
		'title': '',
		'imageId': '71643245',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71687938&x=1625',
		'title': '',
		'imageId': '71687938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71687941&x=1625',
		'title': '',
		'imageId': '71687941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71687940&x=1625',
		'title': '',
		'imageId': '71687940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71687939&x=1625',
		'title': '',
		'imageId': '71687939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71687936&x=1625',
		'title': '',
		'imageId': '71687936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077328&docid=71687937&x=1625',
		'title': '',
		'imageId': '71687937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4077328';

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";
	})
}
