var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198324&x=2754',
		'title': '',
		'imageId': '67198324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198322&x=2754',
		'title': '',
		'imageId': '67198322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198323&x=2754',
		'title': '',
		'imageId': '67198323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198321&x=2754',
		'title': '',
		'imageId': '67198321',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198325&x=2754',
		'title': '',
		'imageId': '67198325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67316826&x=2754',
		'title': '',
		'imageId': '67316826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198319&x=2754',
		'title': '',
		'imageId': '67198319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67198320&x=2754',
		'title': '',
		'imageId': '67198320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67316827&x=2754',
		'title': '',
		'imageId': '67316827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67316829&x=2754',
		'title': '',
		'imageId': '67316829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67316825&x=2754',
		'title': '',
		'imageId': '67316825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922624&docid=67316828&x=2754',
		'title': '',
		'imageId': '67316828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922624';

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