var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988824&x=2054',
		'title': '',
		'imageId': '68988824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988816&x=2054',
		'title': '',
		'imageId': '68988816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988820&x=2054',
		'title': '',
		'imageId': '68988820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988827&x=2054',
		'title': '',
		'imageId': '68988827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988818&x=2054',
		'title': '',
		'imageId': '68988818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988819&x=2054',
		'title': '',
		'imageId': '68988819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988822&x=2054',
		'title': '',
		'imageId': '68988822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988821&x=2054',
		'title': '',
		'imageId': '68988821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988825&x=2054',
		'title': '',
		'imageId': '68988825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988817&x=2054',
		'title': '',
		'imageId': '68988817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973750&docid=68988826&x=2054',
		'title': '',
		'imageId': '68988826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973750';

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