var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775850&x=3056',
		'title': '',
		'imageId': '68775850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775851&x=3056',
		'title': '',
		'imageId': '68775851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775852&x=3056',
		'title': '',
		'imageId': '68775852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775853&x=3056',
		'title': '',
		'imageId': '68775853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775857&x=3056',
		'title': '',
		'imageId': '68775857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775855&x=3056',
		'title': '',
		'imageId': '68775855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775859&x=3056',
		'title': '',
		'imageId': '68775859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775858&x=3056',
		'title': '',
		'imageId': '68775858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775860&x=3056',
		'title': '',
		'imageId': '68775860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775854&x=3056',
		'title': '',
		'imageId': '68775854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68775856&x=3056',
		'title': '',
		'imageId': '68775856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3957986&docid=68824989&x=3056',
		'title': '',
		'imageId': '68824989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3957986';

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