var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68702996&x=159',
		'title': '',
		'imageId': '68702996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68702997&x=159',
		'title': '',
		'imageId': '68702997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68702998&x=159',
		'title': '',
		'imageId': '68702998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68702999&x=159',
		'title': '',
		'imageId': '68702999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68703000&x=159',
		'title': '',
		'imageId': '68703000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68703003&x=159',
		'title': '',
		'imageId': '68703003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68703006&x=159',
		'title': '',
		'imageId': '68703006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68703011&x=159',
		'title': '',
		'imageId': '68703011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68703014&x=159',
		'title': '',
		'imageId': '68703014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955226&docid=68702995&x=159',
		'title': '',
		'imageId': '68702995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955226';

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