var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139160&x=4524',
		'title': '',
		'imageId': '68139160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139173&x=4524',
		'title': '',
		'imageId': '68139173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139165&x=4524',
		'title': '',
		'imageId': '68139165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139161&x=4524',
		'title': '',
		'imageId': '68139161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139162&x=4524',
		'title': '',
		'imageId': '68139162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139172&x=4524',
		'title': '',
		'imageId': '68139172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139163&x=4524',
		'title': '',
		'imageId': '68139163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139180&x=4524',
		'title': '',
		'imageId': '68139180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139164&x=4524',
		'title': '',
		'imageId': '68139164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139181&x=4524',
		'title': '',
		'imageId': '68139181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139183&x=4524',
		'title': '',
		'imageId': '68139183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930592&docid=68139182&x=4524',
		'title': '',
		'imageId': '68139182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930592';

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