var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302830&x=497',
		'title': '',
		'imageId': '68302830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302831&x=497',
		'title': '',
		'imageId': '68302831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302832&x=497',
		'title': '',
		'imageId': '68302832',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302833&x=497',
		'title': '',
		'imageId': '68302833',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302829&x=497',
		'title': '',
		'imageId': '68302829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302834&x=497',
		'title': '',
		'imageId': '68302834',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3937372&docid=68302835&x=497',
		'title': '',
		'imageId': '68302835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3937372';

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