var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616392&x=821',
		'title': '',
		'imageId': '71616392',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616394&x=821',
		'title': '',
		'imageId': '71616394',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616391&x=821',
		'title': '',
		'imageId': '71616391',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616395&x=821',
		'title': '',
		'imageId': '71616395',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616399&x=821',
		'title': '',
		'imageId': '71616399',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616398&x=821',
		'title': '',
		'imageId': '71616398',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616393&x=821',
		'title': '',
		'imageId': '71616393',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616397&x=821',
		'title': '',
		'imageId': '71616397',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076288&docid=71616396&x=821',
		'title': '',
		'imageId': '71616396',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076288';

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