var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020237&x=4022',
		'title': '',
		'imageId': '71020237',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020235&x=4022',
		'title': '',
		'imageId': '71020235',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020233&x=4022',
		'title': '',
		'imageId': '71020233',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020238&x=4022',
		'title': '',
		'imageId': '71020238',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020241&x=4022',
		'title': '',
		'imageId': '71020241',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020239&x=4022',
		'title': '',
		'imageId': '71020239',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020234&x=4022',
		'title': '',
		'imageId': '71020234',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020240&x=4022',
		'title': '',
		'imageId': '71020240',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020232&x=4022',
		'title': '',
		'imageId': '71020232',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020231&x=4022',
		'title': '',
		'imageId': '71020231',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4051125&docid=71020236&x=4022',
		'title': '',
		'imageId': '71020236',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4051125';

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