var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884106&x=2758',
		'title': '',
		'imageId': '68884106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884089&x=2758',
		'title': '',
		'imageId': '68884089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884086&x=2758',
		'title': '',
		'imageId': '68884086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884087&x=2758',
		'title': '',
		'imageId': '68884087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884091&x=2758',
		'title': '',
		'imageId': '68884091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884090&x=2758',
		'title': '',
		'imageId': '68884090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884098&x=2758',
		'title': '',
		'imageId': '68884098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884099&x=2758',
		'title': '',
		'imageId': '68884099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884104&x=2758',
		'title': '',
		'imageId': '68884104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963180&docid=68884105&x=2758',
		'title': '',
		'imageId': '68884105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963180';

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