var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548352&x=5155',
		'title': '',
		'imageId': '69548352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548350&x=5155',
		'title': '',
		'imageId': '69548350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548353&x=5155',
		'title': '',
		'imageId': '69548353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548355&x=5155',
		'title': '',
		'imageId': '69548355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548356&x=5155',
		'title': '',
		'imageId': '69548356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548351&x=5155',
		'title': '',
		'imageId': '69548351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548357&x=5155',
		'title': '',
		'imageId': '69548357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548349&x=5155',
		'title': '',
		'imageId': '69548349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548358&x=5155',
		'title': '',
		'imageId': '69548358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992692&docid=69548354&x=5155',
		'title': '',
		'imageId': '69548354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992692';

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