var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166353&x=354',
		'title': '',
		'imageId': '67166353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166354&x=354',
		'title': '',
		'imageId': '67166354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166355&x=354',
		'title': '',
		'imageId': '67166355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166357&x=354',
		'title': '',
		'imageId': '67166357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166360&x=354',
		'title': '',
		'imageId': '67166360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166365&x=354',
		'title': '',
		'imageId': '67166365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166366&x=354',
		'title': '',
		'imageId': '67166366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166367&x=354',
		'title': '',
		'imageId': '67166367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166369&x=354',
		'title': '',
		'imageId': '67166369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166370&x=354',
		'title': '',
		'imageId': '67166370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166371&x=354',
		'title': '',
		'imageId': '67166371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166372&x=354',
		'title': '',
		'imageId': '67166372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166373&x=354',
		'title': '',
		'imageId': '67166373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166374&x=354',
		'title': '',
		'imageId': '67166374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166375&x=354',
		'title': '',
		'imageId': '67166375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3890843&docid=67166376&x=354',
		'title': '',
		'imageId': '67166376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3890843';

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