var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631712&x=1221',
		'title': '',
		'imageId': '68631712',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631713&x=1221',
		'title': '',
		'imageId': '68631713',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631714&x=1221',
		'title': '',
		'imageId': '68631714',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631711&x=1221',
		'title': '',
		'imageId': '68631711',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631715&x=1221',
		'title': '',
		'imageId': '68631715',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631718&x=1221',
		'title': '',
		'imageId': '68631718',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631716&x=1221',
		'title': '',
		'imageId': '68631716',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3952018&docid=68631717&x=1221',
		'title': '',
		'imageId': '68631717',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3952018';

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