var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052197&x=1514',
		'title': '',
		'imageId': '70052197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052198&x=1514',
		'title': '',
		'imageId': '70052198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052202&x=1514',
		'title': '',
		'imageId': '70052202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052201&x=1514',
		'title': '',
		'imageId': '70052201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052205&x=1514',
		'title': '',
		'imageId': '70052205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052194&x=1514',
		'title': '',
		'imageId': '70052194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052204&x=1514',
		'title': '',
		'imageId': '70052204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052193&x=1514',
		'title': '',
		'imageId': '70052193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052203&x=1514',
		'title': '',
		'imageId': '70052203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052195&x=1514',
		'title': '',
		'imageId': '70052195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013733&docid=70052199&x=1514',
		'title': '',
		'imageId': '70052199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013733';

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