var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182604&x=1318',
		'title': '',
		'imageId': '71182604',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182622&x=1318',
		'title': '',
		'imageId': '71182622',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182624&x=1318',
		'title': '',
		'imageId': '71182624',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182605&x=1318',
		'title': '',
		'imageId': '71182605',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182585&x=1318',
		'title': '',
		'imageId': '71182585',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182587&x=1318',
		'title': '',
		'imageId': '71182587',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182586&x=1318',
		'title': '',
		'imageId': '71182586',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182588&x=1318',
		'title': '',
		'imageId': '71182588',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182601&x=1318',
		'title': '',
		'imageId': '71182601',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182602&x=1318',
		'title': '',
		'imageId': '71182602',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182603&x=1318',
		'title': '',
		'imageId': '71182603',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182606&x=1318',
		'title': '',
		'imageId': '71182606',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182619&x=1318',
		'title': '',
		'imageId': '71182619',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182621&x=1318',
		'title': '',
		'imageId': '71182621',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182620&x=1318',
		'title': '',
		'imageId': '71182620',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182623&x=1318',
		'title': '',
		'imageId': '71182623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182583&x=1318',
		'title': '',
		'imageId': '71182583',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4057230&docid=71182584&x=1318',
		'title': '',
		'imageId': '71182584',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4057230';

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