var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653945&x=5041',
		'title': '',
		'imageId': '67653945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653946&x=5041',
		'title': '',
		'imageId': '67653946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653947&x=5041',
		'title': '',
		'imageId': '67653947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653948&x=5041',
		'title': '',
		'imageId': '67653948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653949&x=5041',
		'title': '',
		'imageId': '67653949',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653953&x=5041',
		'title': '',
		'imageId': '67653953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653950&x=5041',
		'title': '',
		'imageId': '67653950',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653951&x=5041',
		'title': '',
		'imageId': '67653951',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653952&x=5041',
		'title': '',
		'imageId': '67653952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653954&x=5041',
		'title': '',
		'imageId': '67653954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910675&docid=67653955&x=5041',
		'title': '',
		'imageId': '67653955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910675';

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