var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705079&x=3416',
		'title': '',
		'imageId': '67705079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705080&x=3416',
		'title': '',
		'imageId': '67705080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705086&x=3416',
		'title': '',
		'imageId': '67705086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705081&x=3416',
		'title': '',
		'imageId': '67705081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705082&x=3416',
		'title': '',
		'imageId': '67705082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705083&x=3416',
		'title': '',
		'imageId': '67705083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705084&x=3416',
		'title': '',
		'imageId': '67705084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705085&x=3416',
		'title': '',
		'imageId': '67705085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705078&x=3416',
		'title': '',
		'imageId': '67705078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3912957&docid=67705077&x=3416',
		'title': '',
		'imageId': '67705077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3912957';

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