var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122984&x=3944',
		'title': '',
		'imageId': '71122984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122990&x=3944',
		'title': '',
		'imageId': '71122990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122986&x=3944',
		'title': '',
		'imageId': '71122986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122988&x=3944',
		'title': '',
		'imageId': '71122988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122992&x=3944',
		'title': '',
		'imageId': '71122992',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122985&x=3944',
		'title': '',
		'imageId': '71122985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122994&x=3944',
		'title': '',
		'imageId': '71122994',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122989&x=3944',
		'title': '',
		'imageId': '71122989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122993&x=3944',
		'title': '',
		'imageId': '71122993',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122991&x=3944',
		'title': '',
		'imageId': '71122991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4052466&docid=71122987&x=3944',
		'title': '',
		'imageId': '71122987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4052466';

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