var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859064&x=3454',
		'title': '',
		'imageId': '68859064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859065&x=3454',
		'title': '',
		'imageId': '68859065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859068&x=3454',
		'title': '',
		'imageId': '68859068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859071&x=3454',
		'title': '',
		'imageId': '68859071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859074&x=3454',
		'title': '',
		'imageId': '68859074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859081&x=3454',
		'title': '',
		'imageId': '68859081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859085&x=3454',
		'title': '',
		'imageId': '68859085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859086&x=3454',
		'title': '',
		'imageId': '68859086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859091&x=3454',
		'title': '',
		'imageId': '68859091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859094&x=3454',
		'title': '',
		'imageId': '68859094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3962255&docid=68859099&x=3454',
		'title': '',
		'imageId': '68859099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3962255';

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