var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204891&x=5117',
		'title': '',
		'imageId': '70204891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204892&x=5117',
		'title': '',
		'imageId': '70204892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204896&x=5117',
		'title': '',
		'imageId': '70204896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204897&x=5117',
		'title': '',
		'imageId': '70204897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204898&x=5117',
		'title': '',
		'imageId': '70204898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204902&x=5117',
		'title': '',
		'imageId': '70204902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204903&x=5117',
		'title': '',
		'imageId': '70204903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204907&x=5117',
		'title': '',
		'imageId': '70204907',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204908&x=5117',
		'title': '',
		'imageId': '70204908',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019013&docid=70204909&x=5117',
		'title': '',
		'imageId': '70204909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019013';

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