var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951568&x=4015',
		'title': '',
		'imageId': '71951568',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951566&x=4015',
		'title': '',
		'imageId': '71951566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951582&x=4015',
		'title': '',
		'imageId': '71951582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951564&x=4015',
		'title': '',
		'imageId': '71951564',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951563&x=4015',
		'title': '',
		'imageId': '71951563',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951570&x=4015',
		'title': '',
		'imageId': '71951570',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951574&x=4015',
		'title': '',
		'imageId': '71951574',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951571&x=4015',
		'title': '',
		'imageId': '71951571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951579&x=4015',
		'title': '',
		'imageId': '71951579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951581&x=4015',
		'title': '',
		'imageId': '71951581',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951572&x=4015',
		'title': '',
		'imageId': '71951572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951573&x=4015',
		'title': '',
		'imageId': '71951573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951576&x=4015',
		'title': '',
		'imageId': '71951576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951580&x=4015',
		'title': '',
		'imageId': '71951580',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951569&x=4015',
		'title': '',
		'imageId': '71951569',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951578&x=4015',
		'title': '',
		'imageId': '71951578',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951577&x=4015',
		'title': '',
		'imageId': '71951577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951565&x=4015',
		'title': '',
		'imageId': '71951565',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4089900&docid=71951567&x=4015',
		'title': '',
		'imageId': '71951567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4089900';

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