var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347246&x=3333',
		'title': '',
		'imageId': '70347246',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347251&x=3333',
		'title': '',
		'imageId': '70347251',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347249&x=3333',
		'title': '',
		'imageId': '70347249',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347247&x=3333',
		'title': '',
		'imageId': '70347247',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347255&x=3333',
		'title': '',
		'imageId': '70347255',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347248&x=3333',
		'title': '',
		'imageId': '70347248',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347250&x=3333',
		'title': '',
		'imageId': '70347250',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347253&x=3333',
		'title': '',
		'imageId': '70347253',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347252&x=3333',
		'title': '',
		'imageId': '70347252',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347256&x=3333',
		'title': '',
		'imageId': '70347256',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4023959&docid=70347254&x=3333',
		'title': '',
		'imageId': '70347254',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4023959';

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