var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052089&x=1651',
		'title': '',
		'imageId': '70052089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052091&x=1651',
		'title': '',
		'imageId': '70052091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052087&x=1651',
		'title': '',
		'imageId': '70052087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052084&x=1651',
		'title': '',
		'imageId': '70052084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052086&x=1651',
		'title': '',
		'imageId': '70052086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052073&x=1651',
		'title': '',
		'imageId': '70052073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052079&x=1651',
		'title': '',
		'imageId': '70052079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052071&x=1651',
		'title': '',
		'imageId': '70052071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052076&x=1651',
		'title': '',
		'imageId': '70052076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052080&x=1651',
		'title': '',
		'imageId': '70052080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052074&x=1651',
		'title': '',
		'imageId': '70052074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052077&x=1651',
		'title': '',
		'imageId': '70052077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052088&x=1651',
		'title': '',
		'imageId': '70052088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052093&x=1651',
		'title': '',
		'imageId': '70052093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052092&x=1651',
		'title': '',
		'imageId': '70052092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052078&x=1651',
		'title': '',
		'imageId': '70052078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052083&x=1651',
		'title': '',
		'imageId': '70052083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052082&x=1651',
		'title': '',
		'imageId': '70052082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052075&x=1651',
		'title': '',
		'imageId': '70052075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052085&x=1651',
		'title': '',
		'imageId': '70052085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052072&x=1651',
		'title': '',
		'imageId': '70052072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052090&x=1651',
		'title': '',
		'imageId': '70052090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4013730&docid=70052081&x=1651',
		'title': '',
		'imageId': '70052081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4013730';

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