var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051065&x=1859',
		'title': '',
		'imageId': '70051065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051067&x=1859',
		'title': '',
		'imageId': '70051067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051069&x=1859',
		'title': '',
		'imageId': '70051069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051066&x=1859',
		'title': '',
		'imageId': '70051066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051070&x=1859',
		'title': '',
		'imageId': '70051070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051064&x=1859',
		'title': '',
		'imageId': '70051064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051072&x=1859',
		'title': '',
		'imageId': '70051072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051074&x=1859',
		'title': '',
		'imageId': '70051074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051068&x=1859',
		'title': '',
		'imageId': '70051068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051075&x=1859',
		'title': '',
		'imageId': '70051075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051071&x=1859',
		'title': '',
		'imageId': '70051071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013680&docid=70051073&x=1859',
		'title': '',
		'imageId': '70051073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013680';

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