var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024404&x=3849',
		'title': '',
		'imageId': '68024404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024099&x=3849',
		'title': '',
		'imageId': '68024099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024101&x=3849',
		'title': '',
		'imageId': '68024101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024100&x=3849',
		'title': '',
		'imageId': '68024100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024092&x=3849',
		'title': '',
		'imageId': '68024092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024093&x=3849',
		'title': '',
		'imageId': '68024093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024094&x=3849',
		'title': '',
		'imageId': '68024094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024095&x=3849',
		'title': '',
		'imageId': '68024095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024096&x=3849',
		'title': '',
		'imageId': '68024096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024097&x=3849',
		'title': '',
		'imageId': '68024097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980616&docid=68024098&x=3849',
		'title': '',
		'imageId': '68024098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980616';

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