var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797616&x=3658',
		'title': '',
		'imageId': '71797616',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797620&x=3658',
		'title': '',
		'imageId': '71797620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797617&x=3658',
		'title': '',
		'imageId': '71797617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797619&x=3658',
		'title': '',
		'imageId': '71797619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797614&x=3658',
		'title': '',
		'imageId': '71797614',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797615&x=3658',
		'title': '',
		'imageId': '71797615',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797621&x=3658',
		'title': '',
		'imageId': '71797621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797618&x=3658',
		'title': '',
		'imageId': '71797618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084407&docid=71797613&x=3658',
		'title': '',
		'imageId': '71797613',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4084407';

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