var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822821&x=5035',
		'title': '',
		'imageId': '67822821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822830&x=5035',
		'title': '',
		'imageId': '67822830',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822827&x=5035',
		'title': '',
		'imageId': '67822827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822828&x=5035',
		'title': '',
		'imageId': '67822828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822824&x=5035',
		'title': '',
		'imageId': '67822824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822823&x=5035',
		'title': '',
		'imageId': '67822823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822829&x=5035',
		'title': '',
		'imageId': '67822829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822826&x=5035',
		'title': '',
		'imageId': '67822826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822825&x=5035',
		'title': '',
		'imageId': '67822825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822822&x=5035',
		'title': '',
		'imageId': '67822822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931156&docid=67822820&x=5035',
		'title': '',
		'imageId': '67822820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931156';

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