var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329359&x=3138',
		'title': '',
		'imageId': '68329359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329353&x=3138',
		'title': '',
		'imageId': '68329353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329366&x=3138',
		'title': '',
		'imageId': '68329366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329367&x=3138',
		'title': '',
		'imageId': '68329367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329364&x=3138',
		'title': '',
		'imageId': '68329364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329358&x=3138',
		'title': '',
		'imageId': '68329358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329352&x=3138',
		'title': '',
		'imageId': '68329352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329351&x=3138',
		'title': '',
		'imageId': '68329351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329350&x=3138',
		'title': '',
		'imageId': '68329350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329365&x=3138',
		'title': '',
		'imageId': '68329365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329361&x=3138',
		'title': '',
		'imageId': '68329361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938673&docid=68329368&x=3138',
		'title': '',
		'imageId': '68329368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938673';

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