var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362073&x=541',
		'title': '',
		'imageId': '70362073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362069&x=541',
		'title': '',
		'imageId': '70362069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362072&x=541',
		'title': '',
		'imageId': '70362072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362071&x=541',
		'title': '',
		'imageId': '70362071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362070&x=541',
		'title': '',
		'imageId': '70362070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362084&x=541',
		'title': '',
		'imageId': '70362084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362085&x=541',
		'title': '',
		'imageId': '70362085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362089&x=541',
		'title': '',
		'imageId': '70362089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362086&x=541',
		'title': '',
		'imageId': '70362086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362094&x=541',
		'title': '',
		'imageId': '70362094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362095&x=541',
		'title': '',
		'imageId': '70362095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362100&x=541',
		'title': '',
		'imageId': '70362100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362101&x=541',
		'title': '',
		'imageId': '70362101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362104&x=541',
		'title': '',
		'imageId': '70362104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362111&x=541',
		'title': '',
		'imageId': '70362111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4026484&docid=70362068&x=541',
		'title': '',
		'imageId': '70362068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4026484';

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