var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241675&x=5931',
		'title': '',
		'imageId': '68241675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241676&x=5931',
		'title': '',
		'imageId': '68241676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241671&x=5931',
		'title': '',
		'imageId': '68241671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241674&x=5931',
		'title': '',
		'imageId': '68241674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241680&x=5931',
		'title': '',
		'imageId': '68241680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241669&x=5931',
		'title': '',
		'imageId': '68241669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241677&x=5931',
		'title': '',
		'imageId': '68241677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241678&x=5931',
		'title': '',
		'imageId': '68241678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241679&x=5931',
		'title': '',
		'imageId': '68241679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241672&x=5931',
		'title': '',
		'imageId': '68241672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3934649&docid=68241673&x=5931',
		'title': '',
		'imageId': '68241673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3934649';

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