var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887058&x=1435',
		'title': '',
		'imageId': '67887058',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887059&x=1435',
		'title': '',
		'imageId': '67887059',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887060&x=1435',
		'title': '',
		'imageId': '67887060',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887061&x=1435',
		'title': '',
		'imageId': '67887061',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887062&x=1435',
		'title': '',
		'imageId': '67887062',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887063&x=1435',
		'title': '',
		'imageId': '67887063',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887064&x=1435',
		'title': '',
		'imageId': '67887064',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887065&x=1435',
		'title': '',
		'imageId': '67887065',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887066&x=1435',
		'title': '',
		'imageId': '67887066',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887067&x=1435',
		'title': '',
		'imageId': '67887067',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887068&x=1435',
		'title': '',
		'imageId': '67887068',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887069&x=1435',
		'title': '',
		'imageId': '67887069',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887070&x=1435',
		'title': '',
		'imageId': '67887070',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887071&x=1435',
		'title': '',
		'imageId': '67887071',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887072&x=1435',
		'title': '',
		'imageId': '67887072',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887073&x=1435',
		'title': '',
		'imageId': '67887073',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887055&x=1435',
		'title': '',
		'imageId': '67887055',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887056&x=1435',
		'title': '',
		'imageId': '67887056',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919076&docid=67887057&x=1435',
		'title': '',
		'imageId': '67887057',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919076';

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