var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145216&x=5416',
		'title': '',
		'imageId': '68145216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145213&x=5416',
		'title': '',
		'imageId': '68145213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145215&x=5416',
		'title': '',
		'imageId': '68145215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145214&x=5416',
		'title': '',
		'imageId': '68145214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145225&x=5416',
		'title': '',
		'imageId': '68145225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145227&x=5416',
		'title': '',
		'imageId': '68145227',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145226&x=5416',
		'title': '',
		'imageId': '68145226',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930996&docid=68145234&x=5416',
		'title': '',
		'imageId': '68145234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930996';

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