var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916778&x=1820',
		'title': '',
		'imageId': '70916778',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916781&x=1820',
		'title': '',
		'imageId': '70916781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916780&x=1820',
		'title': '',
		'imageId': '70916780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916772&x=1820',
		'title': '',
		'imageId': '70916772',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916773&x=1820',
		'title': '',
		'imageId': '70916773',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916768&x=1820',
		'title': '',
		'imageId': '70916768',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916766&x=1820',
		'title': '',
		'imageId': '70916766',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916775&x=1820',
		'title': '',
		'imageId': '70916775',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916779&x=1820',
		'title': '',
		'imageId': '70916779',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916764&x=1820',
		'title': '',
		'imageId': '70916764',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4046947&docid=70916774&x=1820',
		'title': '',
		'imageId': '70916774',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4046947';

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