var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332242&x=1016',
		'title': '',
		'imageId': '68332242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332253&x=1016',
		'title': '',
		'imageId': '68332253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332261&x=1016',
		'title': '',
		'imageId': '68332261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332264&x=1016',
		'title': '',
		'imageId': '68332264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332267&x=1016',
		'title': '',
		'imageId': '68332267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332282&x=1016',
		'title': '',
		'imageId': '68332282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332286&x=1016',
		'title': '',
		'imageId': '68332286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332365&x=1016',
		'title': '',
		'imageId': '68332365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332368&x=1016',
		'title': '',
		'imageId': '68332368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332375&x=1016',
		'title': '',
		'imageId': '68332375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3888772&docid=68332403&x=1016',
		'title': '',
		'imageId': '68332403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3888772';

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