var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704087&x=5656',
		'title': '',
		'imageId': '68704087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704155&x=5656',
		'title': '',
		'imageId': '68704155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704088&x=5656',
		'title': '',
		'imageId': '68704088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704085&x=5656',
		'title': '',
		'imageId': '68704085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704083&x=5656',
		'title': '',
		'imageId': '68704083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704081&x=5656',
		'title': '',
		'imageId': '68704081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704084&x=5656',
		'title': '',
		'imageId': '68704084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704082&x=5656',
		'title': '',
		'imageId': '68704082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704089&x=5656',
		'title': '',
		'imageId': '68704089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704086&x=5656',
		'title': '',
		'imageId': '68704086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704091&x=5656',
		'title': '',
		'imageId': '68704091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955254&docid=68704090&x=5656',
		'title': '',
		'imageId': '68704090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955254';

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