var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477314&x=2259',
		'title': '',
		'imageId': '71477314',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477317&x=2259',
		'title': '',
		'imageId': '71477317',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477318&x=2259',
		'title': '',
		'imageId': '71477318',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477316&x=2259',
		'title': '',
		'imageId': '71477316',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477319&x=2259',
		'title': '',
		'imageId': '71477319',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477315&x=2259',
		'title': '',
		'imageId': '71477315',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4077073&docid=71477313&x=2259',
		'title': '',
		'imageId': '71477313',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4077073';

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