var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157625&x=161',
		'title': '',
		'imageId': '71157625',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157647&x=161',
		'title': '',
		'imageId': '71157647',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157648&x=161',
		'title': '',
		'imageId': '71157648',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157603&x=161',
		'title': '',
		'imageId': '71157603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157605&x=161',
		'title': '',
		'imageId': '71157605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157607&x=161',
		'title': '',
		'imageId': '71157607',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157606&x=161',
		'title': '',
		'imageId': '71157606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157608&x=161',
		'title': '',
		'imageId': '71157608',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157623&x=161',
		'title': '',
		'imageId': '71157623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157622&x=161',
		'title': '',
		'imageId': '71157622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157618&x=161',
		'title': '',
		'imageId': '71157618',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157626&x=161',
		'title': '',
		'imageId': '71157626',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157629&x=161',
		'title': '',
		'imageId': '71157629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157638&x=161',
		'title': '',
		'imageId': '71157638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157642&x=161',
		'title': '',
		'imageId': '71157642',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157643&x=161',
		'title': '',
		'imageId': '71157643',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157646&x=161',
		'title': '',
		'imageId': '71157646',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157649&x=161',
		'title': '',
		'imageId': '71157649',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056254&docid=71157604&x=161',
		'title': '',
		'imageId': '71157604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056254';

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