var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681105&x=1223',
		'title': '',
		'imageId': '68681105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681103&x=1223',
		'title': '',
		'imageId': '68681103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681108&x=1223',
		'title': '',
		'imageId': '68681108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681129&x=1223',
		'title': '',
		'imageId': '68681129',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681106&x=1223',
		'title': '',
		'imageId': '68681106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681107&x=1223',
		'title': '',
		'imageId': '68681107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681112&x=1223',
		'title': '',
		'imageId': '68681112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681117&x=1223',
		'title': '',
		'imageId': '68681117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681122&x=1223',
		'title': '',
		'imageId': '68681122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681123&x=1223',
		'title': '',
		'imageId': '68681123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681124&x=1223',
		'title': '',
		'imageId': '68681124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954307&docid=68681104&x=1223',
		'title': '',
		'imageId': '68681104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954307';

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