var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208674&x=5617',
		'title': '',
		'imageId': '70208674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208676&x=5617',
		'title': '',
		'imageId': '70208676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208677&x=5617',
		'title': '',
		'imageId': '70208677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208680&x=5617',
		'title': '',
		'imageId': '70208680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208684&x=5617',
		'title': '',
		'imageId': '70208684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208689&x=5617',
		'title': '',
		'imageId': '70208689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208673&x=5617',
		'title': '',
		'imageId': '70208673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208698&x=5617',
		'title': '',
		'imageId': '70208698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208710&x=5617',
		'title': '',
		'imageId': '70208710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019166&docid=70208712&x=5617',
		'title': '',
		'imageId': '70208712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019166';

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