var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841771&x=4631',
		'title': '',
		'imageId': '68841771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841768&x=4631',
		'title': '',
		'imageId': '68841768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841772&x=4631',
		'title': '',
		'imageId': '68841772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841769&x=4631',
		'title': '',
		'imageId': '68841769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841770&x=4631',
		'title': '',
		'imageId': '68841770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841793&x=4631',
		'title': '',
		'imageId': '68841793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841800&x=4631',
		'title': '',
		'imageId': '68841800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841806&x=4631',
		'title': '',
		'imageId': '68841806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841808&x=4631',
		'title': '',
		'imageId': '68841808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3961483&docid=68841767&x=4631',
		'title': '',
		'imageId': '68841767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3961483';

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