var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954082&x=3838',
		'title': '',
		'imageId': '67954082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954083&x=3838',
		'title': '',
		'imageId': '67954083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954084&x=3838',
		'title': '',
		'imageId': '67954084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954085&x=3838',
		'title': '',
		'imageId': '67954085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954086&x=3838',
		'title': '',
		'imageId': '67954086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954087&x=3838',
		'title': '',
		'imageId': '67954087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954088&x=3838',
		'title': '',
		'imageId': '67954088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954089&x=3838',
		'title': '',
		'imageId': '67954089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954090&x=3838',
		'title': '',
		'imageId': '67954090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954091&x=3838',
		'title': '',
		'imageId': '67954091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922145&docid=67954092&x=3838',
		'title': '',
		'imageId': '67954092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922145';

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