var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788349&x=3628',
		'title': '',
		'imageId': '68788349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788351&x=3628',
		'title': '',
		'imageId': '68788351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788352&x=3628',
		'title': '',
		'imageId': '68788352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788354&x=3628',
		'title': '',
		'imageId': '68788354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788356&x=3628',
		'title': '',
		'imageId': '68788356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788357&x=3628',
		'title': '',
		'imageId': '68788357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788355&x=3628',
		'title': '',
		'imageId': '68788355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788358&x=3628',
		'title': '',
		'imageId': '68788358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788359&x=3628',
		'title': '',
		'imageId': '68788359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3958595&docid=68788360&x=3628',
		'title': '',
		'imageId': '68788360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3958595';

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