var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514474&x=5149',
		'title': '',
		'imageId': '68514474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514479&x=5149',
		'title': '',
		'imageId': '68514479',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514477&x=5149',
		'title': '',
		'imageId': '68514477',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514475&x=5149',
		'title': '',
		'imageId': '68514475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514481&x=5149',
		'title': '',
		'imageId': '68514481',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514483&x=5149',
		'title': '',
		'imageId': '68514483',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514485&x=5149',
		'title': '',
		'imageId': '68514485',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514486&x=5149',
		'title': '',
		'imageId': '68514486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514488&x=5149',
		'title': '',
		'imageId': '68514488',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514487&x=5149',
		'title': '',
		'imageId': '68514487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514480&x=5149',
		'title': '',
		'imageId': '68514480',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947178&docid=68514489&x=5149',
		'title': '',
		'imageId': '68514489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947178';

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