var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728918&x=2148',
		'title': '',
		'imageId': '68728918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728919&x=2148',
		'title': '',
		'imageId': '68728919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728911&x=2148',
		'title': '',
		'imageId': '68728911',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728920&x=2148',
		'title': '',
		'imageId': '68728920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728921&x=2148',
		'title': '',
		'imageId': '68728921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728912&x=2148',
		'title': '',
		'imageId': '68728912',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728917&x=2148',
		'title': '',
		'imageId': '68728917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728914&x=2148',
		'title': '',
		'imageId': '68728914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728915&x=2148',
		'title': '',
		'imageId': '68728915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728910&x=2148',
		'title': '',
		'imageId': '68728910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728913&x=2148',
		'title': '',
		'imageId': '68728913',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3956002&docid=68728916&x=2148',
		'title': '',
		'imageId': '68728916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3956002';

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