var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932774&x=5350',
		'title': '',
		'imageId': '68932774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932787&x=5350',
		'title': '',
		'imageId': '68932787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932793&x=5350',
		'title': '',
		'imageId': '68932793',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932796&x=5350',
		'title': '',
		'imageId': '68932796',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932799&x=5350',
		'title': '',
		'imageId': '68932799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932802&x=5350',
		'title': '',
		'imageId': '68932802',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3965239&docid=68932806&x=5350',
		'title': '',
		'imageId': '68932806',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3965239';

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