var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149351&x=1019',
		'title': '',
		'imageId': '66149351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149357&x=1019',
		'title': '',
		'imageId': '66149357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66148774&x=1019',
		'title': '',
		'imageId': '66148774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149354&x=1019',
		'title': '',
		'imageId': '66149354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149358&x=1019',
		'title': '',
		'imageId': '66149358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149356&x=1019',
		'title': '',
		'imageId': '66149356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149352&x=1019',
		'title': '',
		'imageId': '66149352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66148773&x=1019',
		'title': '',
		'imageId': '66148773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149355&x=1019',
		'title': '',
		'imageId': '66149355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66148775&x=1019',
		'title': '',
		'imageId': '66148775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66148776&x=1019',
		'title': '',
		'imageId': '66148776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3849712&docid=66149353&x=1019',
		'title': '',
		'imageId': '66149353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3849712';

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