var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414968&x=5018',
		'title': '',
		'imageId': '70414968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414970&x=5018',
		'title': '',
		'imageId': '70414970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414971&x=5018',
		'title': '',
		'imageId': '70414971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414972&x=5018',
		'title': '',
		'imageId': '70414972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414973&x=5018',
		'title': '',
		'imageId': '70414973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414974&x=5018',
		'title': '',
		'imageId': '70414974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414975&x=5018',
		'title': '',
		'imageId': '70414975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4028509&docid=70414976&x=5018',
		'title': '',
		'imageId': '70414976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4028509';

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