var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475837&x=3235',
		'title': '',
		'imageId': '71475837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475838&x=3235',
		'title': '',
		'imageId': '71475838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475836&x=3235',
		'title': '',
		'imageId': '71475836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475840&x=3235',
		'title': '',
		'imageId': '71475840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475834&x=3235',
		'title': '',
		'imageId': '71475834',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475832&x=3235',
		'title': '',
		'imageId': '71475832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475835&x=3235',
		'title': '',
		'imageId': '71475835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475839&x=3235',
		'title': '',
		'imageId': '71475839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4083587&docid=71475833&x=3235',
		'title': '',
		'imageId': '71475833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4083587';

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