var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734023&x=2033',
		'title': '',
		'imageId': '68734023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734017&x=2033',
		'title': '',
		'imageId': '68734017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734013&x=2033',
		'title': '',
		'imageId': '68734013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734022&x=2033',
		'title': '',
		'imageId': '68734022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734018&x=2033',
		'title': '',
		'imageId': '68734018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734012&x=2033',
		'title': '',
		'imageId': '68734012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734020&x=2033',
		'title': '',
		'imageId': '68734020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734015&x=2033',
		'title': '',
		'imageId': '68734015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734016&x=2033',
		'title': '',
		'imageId': '68734016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734011&x=2033',
		'title': '',
		'imageId': '68734011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734019&x=2033',
		'title': '',
		'imageId': '68734019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955651&docid=68734014&x=2033',
		'title': '',
		'imageId': '68734014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955651';

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