var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678668&x=1416',
		'title': '',
		'imageId': '68678668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678672&x=1416',
		'title': '',
		'imageId': '68678672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678677&x=1416',
		'title': '',
		'imageId': '68678677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678679&x=1416',
		'title': '',
		'imageId': '68678679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678680&x=1416',
		'title': '',
		'imageId': '68678680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678683&x=1416',
		'title': '',
		'imageId': '68678683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678686&x=1416',
		'title': '',
		'imageId': '68678686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678689&x=1416',
		'title': '',
		'imageId': '68678689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678695&x=1416',
		'title': '',
		'imageId': '68678695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3954218&docid=68678664&x=1416',
		'title': '',
		'imageId': '68678664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3954218';

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