var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207868&x=5432',
		'title': '',
		'imageId': '70207868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207869&x=5432',
		'title': '',
		'imageId': '70207869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207870&x=5432',
		'title': '',
		'imageId': '70207870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207873&x=5432',
		'title': '',
		'imageId': '70207873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207892&x=5432',
		'title': '',
		'imageId': '70207892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207888&x=5432',
		'title': '',
		'imageId': '70207888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207867&x=5432',
		'title': '',
		'imageId': '70207867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207889&x=5432',
		'title': '',
		'imageId': '70207889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207890&x=5432',
		'title': '',
		'imageId': '70207890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019142&docid=70207891&x=5432',
		'title': '',
		'imageId': '70207891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019142';

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