var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671781&x=2231',
		'title': '',
		'imageId': '70671781',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671782&x=2231',
		'title': '',
		'imageId': '70671782',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671780&x=2231',
		'title': '',
		'imageId': '70671780',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671779&x=2231',
		'title': '',
		'imageId': '70671779',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671784&x=2231',
		'title': '',
		'imageId': '70671784',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671783&x=2231',
		'title': '',
		'imageId': '70671783',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671786&x=2231',
		'title': '',
		'imageId': '70671786',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671785&x=2231',
		'title': '',
		'imageId': '70671785',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037757&docid=70671787&x=2231',
		'title': '',
		'imageId': '70671787',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037757';

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