var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122609&x=3810',
		'title': '',
		'imageId': '67122609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122614&x=3810',
		'title': '',
		'imageId': '67122614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122607&x=3810',
		'title': '',
		'imageId': '67122607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122615&x=3810',
		'title': '',
		'imageId': '67122615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122613&x=3810',
		'title': '',
		'imageId': '67122613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122616&x=3810',
		'title': '',
		'imageId': '67122616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122608&x=3810',
		'title': '',
		'imageId': '67122608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122606&x=3810',
		'title': '',
		'imageId': '67122606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122611&x=3810',
		'title': '',
		'imageId': '67122611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122610&x=3810',
		'title': '',
		'imageId': '67122610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67122612&x=3810',
		'title': '',
		'imageId': '67122612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3935358&docid=67124021&x=3810',
		'title': '',
		'imageId': '67124021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3935358';

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