var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009071&x=758',
		'title': '',
		'imageId': '70009071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009078&x=758',
		'title': '',
		'imageId': '70009078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009077&x=758',
		'title': '',
		'imageId': '70009077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009074&x=758',
		'title': '',
		'imageId': '70009074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009076&x=758',
		'title': '',
		'imageId': '70009076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009070&x=758',
		'title': '',
		'imageId': '70009070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009080&x=758',
		'title': '',
		'imageId': '70009080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009073&x=758',
		'title': '',
		'imageId': '70009073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009079&x=758',
		'title': '',
		'imageId': '70009079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009072&x=758',
		'title': '',
		'imageId': '70009072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012176&docid=70009075&x=758',
		'title': '',
		'imageId': '70009075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012176';

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