var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158550&x=451',
		'title': '',
		'imageId': '71158550',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158576&x=451',
		'title': '',
		'imageId': '71158576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158577&x=451',
		'title': '',
		'imageId': '71158577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158553&x=451',
		'title': '',
		'imageId': '71158553',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158555&x=451',
		'title': '',
		'imageId': '71158555',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158535&x=451',
		'title': '',
		'imageId': '71158535',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158533&x=451',
		'title': '',
		'imageId': '71158533',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158537&x=451',
		'title': '',
		'imageId': '71158537',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158534&x=451',
		'title': '',
		'imageId': '71158534',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158552&x=451',
		'title': '',
		'imageId': '71158552',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158551&x=451',
		'title': '',
		'imageId': '71158551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158554&x=451',
		'title': '',
		'imageId': '71158554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158566&x=451',
		'title': '',
		'imageId': '71158566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158567&x=451',
		'title': '',
		'imageId': '71158567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158574&x=451',
		'title': '',
		'imageId': '71158574',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158575&x=451',
		'title': '',
		'imageId': '71158575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158578&x=451',
		'title': '',
		'imageId': '71158578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158536&x=451',
		'title': '',
		'imageId': '71158536',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056267&docid=71158532&x=451',
		'title': '',
		'imageId': '71158532',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056267';

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