var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147941&x=2039',
		'title': '',
		'imageId': '61147941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147942&x=2039',
		'title': '',
		'imageId': '61147942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147945&x=2039',
		'title': '',
		'imageId': '61147945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147946&x=2039',
		'title': '',
		'imageId': '61147946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147947&x=2039',
		'title': '',
		'imageId': '61147947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147948&x=2039',
		'title': '',
		'imageId': '61147948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147952&x=2039',
		'title': '',
		'imageId': '61147952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147953&x=2039',
		'title': '',
		'imageId': '61147953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147944&x=2039',
		'title': '',
		'imageId': '61147944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3643267&docid=61147943&x=2039',
		'title': '',
		'imageId': '61147943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3643267';

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