var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016082&x=314',
		'title': '',
		'imageId': '72016082',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016074&x=314',
		'title': '',
		'imageId': '72016074',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016086&x=314',
		'title': '',
		'imageId': '72016086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016081&x=314',
		'title': '',
		'imageId': '72016081',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016078&x=314',
		'title': '',
		'imageId': '72016078',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016084&x=314',
		'title': '',
		'imageId': '72016084',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016072&x=314',
		'title': '',
		'imageId': '72016072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016075&x=314',
		'title': '',
		'imageId': '72016075',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016068&x=314',
		'title': '',
		'imageId': '72016068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016079&x=314',
		'title': '',
		'imageId': '72016079',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016085&x=314',
		'title': '',
		'imageId': '72016085',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016070&x=314',
		'title': '',
		'imageId': '72016070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016080&x=314',
		'title': '',
		'imageId': '72016080',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016067&x=314',
		'title': '',
		'imageId': '72016067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016077&x=314',
		'title': '',
		'imageId': '72016077',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016069&x=314',
		'title': '',
		'imageId': '72016069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016073&x=314',
		'title': '',
		'imageId': '72016073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016071&x=314',
		'title': '',
		'imageId': '72016071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016083&x=314',
		'title': '',
		'imageId': '72016083',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4092861&docid=72016076&x=314',
		'title': '',
		'imageId': '72016076',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4092861';

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