var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064071&x=3414',
		'title': '',
		'imageId': '69064071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064073&x=3414',
		'title': '',
		'imageId': '69064073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064074&x=3414',
		'title': '',
		'imageId': '69064074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064075&x=3414',
		'title': '',
		'imageId': '69064075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064076&x=3414',
		'title': '',
		'imageId': '69064076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064077&x=3414',
		'title': '',
		'imageId': '69064077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064078&x=3414',
		'title': '',
		'imageId': '69064078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064083&x=3414',
		'title': '',
		'imageId': '69064083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064079&x=3414',
		'title': '',
		'imageId': '69064079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064080&x=3414',
		'title': '',
		'imageId': '69064080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064081&x=3414',
		'title': '',
		'imageId': '69064081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971968&docid=69064082&x=3414',
		'title': '',
		'imageId': '69064082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971968';

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