var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077017&x=3712',
		'title': '',
		'imageId': '68077017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077019&x=3712',
		'title': '',
		'imageId': '68077019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077018&x=3712',
		'title': '',
		'imageId': '68077018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077023&x=3712',
		'title': '',
		'imageId': '68077023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077020&x=3712',
		'title': '',
		'imageId': '68077020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077022&x=3712',
		'title': '',
		'imageId': '68077022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077021&x=3712',
		'title': '',
		'imageId': '68077021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3927390&docid=68077024&x=3712',
		'title': '',
		'imageId': '68077024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3927390';

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