var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408232&x=2716',
		'title': '',
		'imageId': '68408232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408235&x=2716',
		'title': '',
		'imageId': '68408235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408230&x=2716',
		'title': '',
		'imageId': '68408230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408236&x=2716',
		'title': '',
		'imageId': '68408236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408231&x=2716',
		'title': '',
		'imageId': '68408231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408229&x=2716',
		'title': '',
		'imageId': '68408229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408234&x=2716',
		'title': '',
		'imageId': '68408234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408228&x=2716',
		'title': '',
		'imageId': '68408228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408227&x=2716',
		'title': '',
		'imageId': '68408227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3942791&docid=68408233&x=2716',
		'title': '',
		'imageId': '68408233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3942791';

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