var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292146&x=1918',
		'title': '',
		'imageId': '71292146',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292147&x=1918',
		'title': '',
		'imageId': '71292147',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292149&x=1918',
		'title': '',
		'imageId': '71292149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292151&x=1918',
		'title': '',
		'imageId': '71292151',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292150&x=1918',
		'title': '',
		'imageId': '71292150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292148&x=1918',
		'title': '',
		'imageId': '71292148',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087014&docid=71292164&x=1918',
		'title': '',
		'imageId': '71292164',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087014';

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