var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=71745820&x=5710',
		'title': '',
		'imageId': '71745820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=71745823&x=5710',
		'title': '',
		'imageId': '71745823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=71745818&x=5710',
		'title': '',
		'imageId': '71745818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=71745819&x=5710',
		'title': '',
		'imageId': '71745819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=71745822&x=5710',
		'title': '',
		'imageId': '71745822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=71745821&x=5710',
		'title': '',
		'imageId': '71745821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092947&docid=72018494&x=5710',
		'title': '',
		'imageId': '72018494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092947';

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