var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617257&x=1617',
		'title': '',
		'imageId': '71617257',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617258&x=1617',
		'title': '',
		'imageId': '71617258',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617259&x=1617',
		'title': '',
		'imageId': '71617259',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617260&x=1617',
		'title': '',
		'imageId': '71617260',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617261&x=1617',
		'title': '',
		'imageId': '71617261',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617262&x=1617',
		'title': '',
		'imageId': '71617262',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617263&x=1617',
		'title': '',
		'imageId': '71617263',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617264&x=1617',
		'title': '',
		'imageId': '71617264',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4076334&docid=71617265&x=1617',
		'title': '',
		'imageId': '71617265',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4076334';

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