var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993022&x=2614',
		'title': '',
		'imageId': '67993022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993024&x=2614',
		'title': '',
		'imageId': '67993024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993026&x=2614',
		'title': '',
		'imageId': '67993026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993027&x=2614',
		'title': '',
		'imageId': '67993027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993025&x=2614',
		'title': '',
		'imageId': '67993025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993032&x=2614',
		'title': '',
		'imageId': '67993032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993029&x=2614',
		'title': '',
		'imageId': '67993029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993028&x=2614',
		'title': '',
		'imageId': '67993028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993023&x=2614',
		'title': '',
		'imageId': '67993023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993030&x=2614',
		'title': '',
		'imageId': '67993030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993033&x=2614',
		'title': '',
		'imageId': '67993033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923867&docid=67993031&x=2614',
		'title': '',
		'imageId': '67993031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923867';

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