var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051959&x=1720',
		'title': '',
		'imageId': '68051959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051960&x=1720',
		'title': '',
		'imageId': '68051960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051961&x=1720',
		'title': '',
		'imageId': '68051961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051962&x=1720',
		'title': '',
		'imageId': '68051962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051963&x=1720',
		'title': '',
		'imageId': '68051963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051964&x=1720',
		'title': '',
		'imageId': '68051964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051965&x=1720',
		'title': '',
		'imageId': '68051965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051966&x=1720',
		'title': '',
		'imageId': '68051966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3926507&docid=68051967&x=1720',
		'title': '',
		'imageId': '68051967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3926507';

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