var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094864&x=3422',
		'title': 'JA-4-25',
		'imageId': '68094864',
		'alt' : 'JA-4-25',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094867&x=3422',
		'title': '',
		'imageId': '68094867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094868&x=3422',
		'title': '',
		'imageId': '68094868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094869&x=3422',
		'title': '',
		'imageId': '68094869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094870&x=3422',
		'title': '',
		'imageId': '68094870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094871&x=3422',
		'title': '',
		'imageId': '68094871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094872&x=3422',
		'title': '',
		'imageId': '68094872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3928523&docid=68094874&x=3422',
		'title': '',
		'imageId': '68094874',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3928523';

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