var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145864&x=1534',
		'title': '',
		'imageId': '71145864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145857&x=1534',
		'title': '',
		'imageId': '71145857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145858&x=1534',
		'title': '',
		'imageId': '71145858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145862&x=1534',
		'title': '',
		'imageId': '71145862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145861&x=1534',
		'title': '',
		'imageId': '71145861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145863&x=1534',
		'title': '',
		'imageId': '71145863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145867&x=1534',
		'title': '',
		'imageId': '71145867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145859&x=1534',
		'title': '',
		'imageId': '71145859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145865&x=1534',
		'title': '',
		'imageId': '71145865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145860&x=1534',
		'title': '',
		'imageId': '71145860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055758&docid=71145866&x=1534',
		'title': '',
		'imageId': '71145866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055758';

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