var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042953&x=719',
		'title': '',
		'imageId': '71042953',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042957&x=719',
		'title': '',
		'imageId': '71042957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042958&x=719',
		'title': '',
		'imageId': '71042958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042956&x=719',
		'title': '',
		'imageId': '71042956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042952&x=719',
		'title': '',
		'imageId': '71042952',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042959&x=719',
		'title': '',
		'imageId': '71042959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042955&x=719',
		'title': '',
		'imageId': '71042955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052130&docid=71042954&x=719',
		'title': '',
		'imageId': '71042954',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052130';

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