var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846638&x=1840',
		'title': '',
		'imageId': '67846638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846634&x=1840',
		'title': '',
		'imageId': '67846634',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846637&x=1840',
		'title': '',
		'imageId': '67846637',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846636&x=1840',
		'title': '',
		'imageId': '67846636',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846639&x=1840',
		'title': '',
		'imageId': '67846639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846640&x=1840',
		'title': '',
		'imageId': '67846640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3917691&docid=67846635&x=1840',
		'title': '',
		'imageId': '67846635',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3917691';

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