var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182053&x=446',
		'title': '',
		'imageId': '71182053',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182088&x=446',
		'title': '',
		'imageId': '71182088',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182090&x=446',
		'title': '',
		'imageId': '71182090',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182069&x=446',
		'title': '',
		'imageId': '71182069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182052&x=446',
		'title': '',
		'imageId': '71182052',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182055&x=446',
		'title': '',
		'imageId': '71182055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182054&x=446',
		'title': '',
		'imageId': '71182054',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182056&x=446',
		'title': '',
		'imageId': '71182056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182070&x=446',
		'title': '',
		'imageId': '71182070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182072&x=446',
		'title': '',
		'imageId': '71182072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182071&x=446',
		'title': '',
		'imageId': '71182071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182073&x=446',
		'title': '',
		'imageId': '71182073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182086&x=446',
		'title': '',
		'imageId': '71182086',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182087&x=446',
		'title': '',
		'imageId': '71182087',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182089&x=446',
		'title': '',
		'imageId': '71182089',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182095&x=446',
		'title': '',
		'imageId': '71182095',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057216&docid=71182051&x=446',
		'title': '',
		'imageId': '71182051',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057216';

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