var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607481&x=3139',
		'title': '',
		'imageId': '67607481',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607488&x=3139',
		'title': '',
		'imageId': '67607488',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607490&x=3139',
		'title': '',
		'imageId': '67607490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607491&x=3139',
		'title': '',
		'imageId': '67607491',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607487&x=3139',
		'title': '',
		'imageId': '67607487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607483&x=3139',
		'title': '',
		'imageId': '67607483',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607484&x=3139',
		'title': '',
		'imageId': '67607484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607485&x=3139',
		'title': '',
		'imageId': '67607485',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607489&x=3139',
		'title': '',
		'imageId': '67607489',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607486&x=3139',
		'title': '',
		'imageId': '67607486',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3908764&docid=67607482&x=3139',
		'title': '',
		'imageId': '67607482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3908764';

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