var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892553&x=4036',
		'title': '',
		'imageId': '68892553',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892555&x=4036',
		'title': '',
		'imageId': '68892555',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892554&x=4036',
		'title': '',
		'imageId': '68892554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892556&x=4036',
		'title': '',
		'imageId': '68892556',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892557&x=4036',
		'title': '',
		'imageId': '68892557',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892558&x=4036',
		'title': '',
		'imageId': '68892558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892561&x=4036',
		'title': '',
		'imageId': '68892561',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892559&x=4036',
		'title': '',
		'imageId': '68892559',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892560&x=4036',
		'title': '',
		'imageId': '68892560',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892562&x=4036',
		'title': '',
		'imageId': '68892562',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892563&x=4036',
		'title': '',
		'imageId': '68892563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963559&docid=68892564&x=4036',
		'title': '',
		'imageId': '68892564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963559';

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