var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895840&x=5314',
		'title': '',
		'imageId': '69895840',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895831&x=5314',
		'title': '',
		'imageId': '69895831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895833&x=5314',
		'title': '',
		'imageId': '69895833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895837&x=5314',
		'title': '',
		'imageId': '69895837',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895832&x=5314',
		'title': '',
		'imageId': '69895832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895835&x=5314',
		'title': '',
		'imageId': '69895835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895839&x=5314',
		'title': '',
		'imageId': '69895839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895834&x=5314',
		'title': '',
		'imageId': '69895834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895836&x=5314',
		'title': '',
		'imageId': '69895836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006937&docid=69895838&x=5314',
		'title': '',
		'imageId': '69895838',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006937';

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