var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867800&x=2928',
		'title': '',
		'imageId': '70867800',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867745&x=2928',
		'title': '',
		'imageId': '70867745',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867740&x=2928',
		'title': '',
		'imageId': '70867740',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867742&x=2928',
		'title': '',
		'imageId': '70867742',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867744&x=2928',
		'title': '',
		'imageId': '70867744',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867741&x=2928',
		'title': '',
		'imageId': '70867741',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867743&x=2928',
		'title': '',
		'imageId': '70867743',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867799&x=2928',
		'title': '',
		'imageId': '70867799',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867798&x=2928',
		'title': '',
		'imageId': '70867798',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867832&x=2928',
		'title': '',
		'imageId': '70867832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044867&docid=70867833&x=2928',
		'title': '',
		'imageId': '70867833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044867';

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