var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276828&x=1927',
		'title': '',
		'imageId': '7276828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276851&x=1927',
		'title': '',
		'imageId': '7276851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276854&x=1927',
		'title': '',
		'imageId': '7276854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276858&x=1927',
		'title': '',
		'imageId': '7276858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276861&x=1927',
		'title': '',
		'imageId': '7276861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7280654&x=1927',
		'title': '',
		'imageId': '7280654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7280657&x=1927',
		'title': '',
		'imageId': '7280657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7280660&x=1927',
		'title': '',
		'imageId': '7280660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7280663&x=1927',
		'title': '',
		'imageId': '7280663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276864&x=1927',
		'title': '',
		'imageId': '7276864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=914016&docid=7276867&x=1927',
		'title': '',
		'imageId': '7276867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #914016';

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