var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723861&x=020',
		'title': '',
		'imageId': '68723861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723862&x=020',
		'title': '',
		'imageId': '68723862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723863&x=020',
		'title': '',
		'imageId': '68723863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723860&x=020',
		'title': '',
		'imageId': '68723860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723864&x=020',
		'title': '',
		'imageId': '68723864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723856&x=020',
		'title': '',
		'imageId': '68723856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723858&x=020',
		'title': '',
		'imageId': '68723858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723855&x=020',
		'title': '',
		'imageId': '68723855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723857&x=020',
		'title': '',
		'imageId': '68723857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971553&docid=68723859&x=020',
		'title': '',
		'imageId': '68723859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971553';

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