var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979341&x=5412',
		'title': '',
		'imageId': '71979341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979337&x=5412',
		'title': '',
		'imageId': '71979337',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979340&x=5412',
		'title': '',
		'imageId': '71979340',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979338&x=5412',
		'title': '',
		'imageId': '71979338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979339&x=5412',
		'title': '',
		'imageId': '71979339',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979418&x=5412',
		'title': '',
		'imageId': '71979418',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979419&x=5412',
		'title': '',
		'imageId': '71979419',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979421&x=5412',
		'title': '',
		'imageId': '71979421',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979422&x=5412',
		'title': '',
		'imageId': '71979422',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979423&x=5412',
		'title': '',
		'imageId': '71979423',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4091238&docid=71979420&x=5412',
		'title': '',
		'imageId': '71979420',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4091238';

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