var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788925&x=4556',
		'title': '',
		'imageId': '71788925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788926&x=4556',
		'title': '',
		'imageId': '71788926',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788927&x=4556',
		'title': '',
		'imageId': '71788927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788928&x=4556',
		'title': '',
		'imageId': '71788928',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788929&x=4556',
		'title': '',
		'imageId': '71788929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788931&x=4556',
		'title': '',
		'imageId': '71788931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788934&x=4556',
		'title': '',
		'imageId': '71788934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788935&x=4556',
		'title': '',
		'imageId': '71788935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4084050&docid=71788936&x=4556',
		'title': '',
		'imageId': '71788936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4084050';

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