var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198267&x=438',
		'title': '',
		'imageId': '70198267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198270&x=438',
		'title': '',
		'imageId': '70198270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198268&x=438',
		'title': '',
		'imageId': '70198268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198271&x=438',
		'title': '',
		'imageId': '70198271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198274&x=438',
		'title': '',
		'imageId': '70198274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198272&x=438',
		'title': '',
		'imageId': '70198272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198269&x=438',
		'title': '',
		'imageId': '70198269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4018251&docid=70198273&x=438',
		'title': '',
		'imageId': '70198273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4018251';

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