var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046299&x=5845',
		'title': '',
		'imageId': '68046299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046302&x=5845',
		'title': '',
		'imageId': '68046302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046303&x=5845',
		'title': '',
		'imageId': '68046303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046308&x=5845',
		'title': '',
		'imageId': '68046308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046326&x=5845',
		'title': '',
		'imageId': '68046326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046329&x=5845',
		'title': '',
		'imageId': '68046329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046332&x=5845',
		'title': '',
		'imageId': '68046332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68046335&x=5845',
		'title': '',
		'imageId': '68046335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68110589&x=5845',
		'title': '',
		'imageId': '68110589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68110679&x=5845',
		'title': '',
		'imageId': '68110679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935498&docid=68260079&x=5845',
		'title': '',
		'imageId': '68260079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935498';

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