var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887927&x=4445',
		'title': '',
		'imageId': '71887927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887934&x=4445',
		'title': '',
		'imageId': '71887934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887933&x=4445',
		'title': '',
		'imageId': '71887933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887930&x=4445',
		'title': '',
		'imageId': '71887930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887928&x=4445',
		'title': '',
		'imageId': '71887928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887932&x=4445',
		'title': '',
		'imageId': '71887932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887929&x=4445',
		'title': '',
		'imageId': '71887929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887931&x=4445',
		'title': '',
		'imageId': '71887931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4087953&docid=71887956&x=4445',
		'title': '',
		'imageId': '71887956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4087953';

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