var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575629&x=3645',
		'title': '',
		'imageId': '66575629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575632&x=3645',
		'title': '',
		'imageId': '66575632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575628&x=3645',
		'title': '',
		'imageId': '66575628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575638&x=3645',
		'title': '',
		'imageId': '66575638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575633&x=3645',
		'title': '',
		'imageId': '66575633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575636&x=3645',
		'title': '',
		'imageId': '66575636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575635&x=3645',
		'title': '',
		'imageId': '66575635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575637&x=3645',
		'title': '',
		'imageId': '66575637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575630&x=3645',
		'title': '',
		'imageId': '66575630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575631&x=3645',
		'title': '',
		'imageId': '66575631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575634&x=3645',
		'title': '',
		'imageId': '66575634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910883&docid=66575627&x=3645',
		'title': '',
		'imageId': '66575627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910883';

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