var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177835&x=5427',
		'title': '',
		'imageId': '71177835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177842&x=5427',
		'title': '',
		'imageId': '71177842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177833&x=5427',
		'title': '',
		'imageId': '71177833',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177910&x=5427',
		'title': '',
		'imageId': '71177910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177837&x=5427',
		'title': '',
		'imageId': '71177837',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177840&x=5427',
		'title': '',
		'imageId': '71177840',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177843&x=5427',
		'title': '',
		'imageId': '71177843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177839&x=5427',
		'title': '',
		'imageId': '71177839',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177841&x=5427',
		'title': '',
		'imageId': '71177841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177838&x=5427',
		'title': '',
		'imageId': '71177838',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4062819&docid=71177836&x=5427',
		'title': '',
		'imageId': '71177836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4062819';

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