var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153213&x=1011',
		'title': '',
		'imageId': '68153213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153214&x=1011',
		'title': '',
		'imageId': '68153214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153215&x=1011',
		'title': '',
		'imageId': '68153215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153216&x=1011',
		'title': '',
		'imageId': '68153216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153217&x=1011',
		'title': '',
		'imageId': '68153217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153218&x=1011',
		'title': '',
		'imageId': '68153218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153223&x=1011',
		'title': '',
		'imageId': '68153223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153225&x=1011',
		'title': '',
		'imageId': '68153225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153233&x=1011',
		'title': '',
		'imageId': '68153233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153234&x=1011',
		'title': '',
		'imageId': '68153234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931371&docid=68153235&x=1011',
		'title': '',
		'imageId': '68153235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931371';

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