var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137696&x=5213',
		'title': '',
		'imageId': '71137696',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137706&x=5213',
		'title': '',
		'imageId': '71137706',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137697&x=5213',
		'title': '',
		'imageId': '71137697',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137701&x=5213',
		'title': '',
		'imageId': '71137701',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137704&x=5213',
		'title': '',
		'imageId': '71137704',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137703&x=5213',
		'title': '',
		'imageId': '71137703',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137705&x=5213',
		'title': '',
		'imageId': '71137705',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137698&x=5213',
		'title': '',
		'imageId': '71137698',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137700&x=5213',
		'title': '',
		'imageId': '71137700',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137702&x=5213',
		'title': '',
		'imageId': '71137702',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4069789&docid=71137699&x=5213',
		'title': '',
		'imageId': '71137699',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4069789';

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