var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030897&x=3811',
		'title': '',
		'imageId': '71030897',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030917&x=3811',
		'title': '',
		'imageId': '71030917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030925&x=3811',
		'title': '',
		'imageId': '71030925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030904&x=3811',
		'title': '',
		'imageId': '71030904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030928&x=3811',
		'title': '',
		'imageId': '71030928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030899&x=3811',
		'title': '',
		'imageId': '71030899',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030931&x=3811',
		'title': '',
		'imageId': '71030931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030935&x=3811',
		'title': '',
		'imageId': '71030935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030937&x=3811',
		'title': '',
		'imageId': '71030937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030938&x=3811',
		'title': '',
		'imageId': '71030938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051540&docid=71030940&x=3811',
		'title': '',
		'imageId': '71030940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051540';

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