var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038215&x=232',
		'title': '',
		'imageId': '72038215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038216&x=232',
		'title': '',
		'imageId': '72038216',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038220&x=232',
		'title': '',
		'imageId': '72038220',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038217&x=232',
		'title': '',
		'imageId': '72038217',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038223&x=232',
		'title': '',
		'imageId': '72038223',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038218&x=232',
		'title': '',
		'imageId': '72038218',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038225&x=232',
		'title': '',
		'imageId': '72038225',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038221&x=232',
		'title': '',
		'imageId': '72038221',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038222&x=232',
		'title': '',
		'imageId': '72038222',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038224&x=232',
		'title': '',
		'imageId': '72038224',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4093736&docid=72038219&x=232',
		'title': '',
		'imageId': '72038219',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4093736';

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