var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043524&x=4429',
		'title': '',
		'imageId': '70043524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043526&x=4429',
		'title': '',
		'imageId': '70043526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043530&x=4429',
		'title': '',
		'imageId': '70043530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043531&x=4429',
		'title': '',
		'imageId': '70043531',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043532&x=4429',
		'title': '',
		'imageId': '70043532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043533&x=4429',
		'title': '',
		'imageId': '70043533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043534&x=4429',
		'title': '',
		'imageId': '70043534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043535&x=4429',
		'title': '',
		'imageId': '70043535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043536&x=4429',
		'title': '',
		'imageId': '70043536',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043537&x=4429',
		'title': '',
		'imageId': '70043537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013436&docid=70043538&x=4429',
		'title': '',
		'imageId': '70043538',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013436';

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