var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558285&x=5559',
		'title': '',
		'imageId': '68558285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558309&x=5559',
		'title': '',
		'imageId': '68558309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558315&x=5559',
		'title': '',
		'imageId': '68558315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558310&x=5559',
		'title': '',
		'imageId': '68558310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558314&x=5559',
		'title': '',
		'imageId': '68558314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558311&x=5559',
		'title': '',
		'imageId': '68558311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558308&x=5559',
		'title': '',
		'imageId': '68558308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558316&x=5559',
		'title': '',
		'imageId': '68558316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558313&x=5559',
		'title': '',
		'imageId': '68558313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948707&docid=68558312&x=5559',
		'title': '',
		'imageId': '68558312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948707';

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