var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226040&x=4649',
		'title': '',
		'imageId': '68226040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226042&x=4649',
		'title': '',
		'imageId': '68226042',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226043&x=4649',
		'title': '',
		'imageId': '68226043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226041&x=4649',
		'title': '',
		'imageId': '68226041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226044&x=4649',
		'title': '',
		'imageId': '68226044',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226049&x=4649',
		'title': '',
		'imageId': '68226049',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226045&x=4649',
		'title': '',
		'imageId': '68226045',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226046&x=4649',
		'title': '',
		'imageId': '68226046',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226047&x=4649',
		'title': '',
		'imageId': '68226047',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226048&x=4649',
		'title': '',
		'imageId': '68226048',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3933931&docid=68226050&x=4649',
		'title': '',
		'imageId': '68226050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3933931';

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