var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511158&x=2123',
		'title': '',
		'imageId': '71511158',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511161&x=2123',
		'title': '',
		'imageId': '71511161',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511162&x=2123',
		'title': '',
		'imageId': '71511162',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511166&x=2123',
		'title': '',
		'imageId': '71511166',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511164&x=2123',
		'title': '',
		'imageId': '71511164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511168&x=2123',
		'title': '',
		'imageId': '71511168',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511160&x=2123',
		'title': '',
		'imageId': '71511160',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511165&x=2123',
		'title': '',
		'imageId': '71511165',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511169&x=2123',
		'title': '',
		'imageId': '71511169',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511159&x=2123',
		'title': '',
		'imageId': '71511159',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069974&docid=71511163&x=2123',
		'title': '',
		'imageId': '71511163',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069974';

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