var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665061&x=4353',
		'title': '',
		'imageId': '70665061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665068&x=4353',
		'title': '',
		'imageId': '70665068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665071&x=4353',
		'title': '',
		'imageId': '70665071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665070&x=4353',
		'title': '',
		'imageId': '70665070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665067&x=4353',
		'title': '',
		'imageId': '70665067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665080&x=4353',
		'title': '',
		'imageId': '70665080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665069&x=4353',
		'title': '',
		'imageId': '70665069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665074&x=4353',
		'title': '',
		'imageId': '70665074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665075&x=4353',
		'title': '',
		'imageId': '70665075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665079&x=4353',
		'title': '',
		'imageId': '70665079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665072&x=4353',
		'title': '',
		'imageId': '70665072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665073&x=4353',
		'title': '',
		'imageId': '70665073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665078&x=4353',
		'title': '',
		'imageId': '70665078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665081&x=4353',
		'title': '',
		'imageId': '70665081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665077&x=4353',
		'title': '',
		'imageId': '70665077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4037584&docid=70665076&x=4353',
		'title': '',
		'imageId': '70665076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4037584';

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