var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073516&x=1218',
		'title': '',
		'imageId': '70073516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073513&x=1218',
		'title': '',
		'imageId': '70073513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073515&x=1218',
		'title': '',
		'imageId': '70073515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073517&x=1218',
		'title': '',
		'imageId': '70073517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073518&x=1218',
		'title': '',
		'imageId': '70073518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073530&x=1218',
		'title': '',
		'imageId': '70073530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073524&x=1218',
		'title': '',
		'imageId': '70073524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073533&x=1218',
		'title': '',
		'imageId': '70073533',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073534&x=1218',
		'title': '',
		'imageId': '70073534',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073535&x=1218',
		'title': '',
		'imageId': '70073535',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014910&docid=70073514&x=1218',
		'title': '',
		'imageId': '70073514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014910';

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