var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953919&x=2534',
		'title': '',
		'imageId': '67953919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953920&x=2534',
		'title': '',
		'imageId': '67953920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953921&x=2534',
		'title': '',
		'imageId': '67953921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953922&x=2534',
		'title': '',
		'imageId': '67953922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953923&x=2534',
		'title': '',
		'imageId': '67953923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953924&x=2534',
		'title': '',
		'imageId': '67953924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953925&x=2534',
		'title': '',
		'imageId': '67953925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953926&x=2534',
		'title': '',
		'imageId': '67953926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953927&x=2534',
		'title': '',
		'imageId': '67953927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953928&x=2534',
		'title': '',
		'imageId': '67953928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953929&x=2534',
		'title': '',
		'imageId': '67953929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922128&docid=67953930&x=2534',
		'title': '',
		'imageId': '67953930',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922128';

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