var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209363&x=2031',
		'title': '',
		'imageId': '70209363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209382&x=2031',
		'title': '',
		'imageId': '70209382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209407&x=2031',
		'title': '',
		'imageId': '70209407',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209416&x=2031',
		'title': '',
		'imageId': '70209416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209431&x=2031',
		'title': '',
		'imageId': '70209431',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209444&x=2031',
		'title': '',
		'imageId': '70209444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209445&x=2031',
		'title': '',
		'imageId': '70209445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209446&x=2031',
		'title': '',
		'imageId': '70209446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209447&x=2031',
		'title': '',
		'imageId': '70209447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019194&docid=70209448&x=2031',
		'title': '',
		'imageId': '70209448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019194';

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