var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418484&x=3156',
		'title': '',
		'imageId': '71418484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418487&x=3156',
		'title': '',
		'imageId': '71418487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418488&x=3156',
		'title': '',
		'imageId': '71418488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418490&x=3156',
		'title': '',
		'imageId': '71418490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418492&x=3156',
		'title': '',
		'imageId': '71418492',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418493&x=3156',
		'title': '',
		'imageId': '71418493',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418494&x=3156',
		'title': '',
		'imageId': '71418494',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418497&x=3156',
		'title': '',
		'imageId': '71418497',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418498&x=3156',
		'title': '',
		'imageId': '71418498',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418500&x=3156',
		'title': '',
		'imageId': '71418500',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4067329&docid=71418504&x=3156',
		'title': '',
		'imageId': '71418504',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4067329';

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