var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464122&x=3952',
		'title': '',
		'imageId': '69464122',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464119&x=3952',
		'title': '',
		'imageId': '69464119',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464117&x=3952',
		'title': '',
		'imageId': '69464117',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464118&x=3952',
		'title': '',
		'imageId': '69464118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464115&x=3952',
		'title': '',
		'imageId': '69464115',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464121&x=3952',
		'title': '',
		'imageId': '69464121',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464116&x=3952',
		'title': '',
		'imageId': '69464116',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464120&x=3952',
		'title': '',
		'imageId': '69464120',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464114&x=3952',
		'title': '',
		'imageId': '69464114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464123&x=3952',
		'title': '',
		'imageId': '69464123',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3988784&docid=69464113&x=3952',
		'title': '',
		'imageId': '69464113',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3988784';

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