var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229846&x=492',
		'title': '',
		'imageId': '69229846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229847&x=492',
		'title': '',
		'imageId': '69229847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229858&x=492',
		'title': '',
		'imageId': '69229858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229856&x=492',
		'title': '',
		'imageId': '69229856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229850&x=492',
		'title': '',
		'imageId': '69229850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229863&x=492',
		'title': '',
		'imageId': '69229863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229861&x=492',
		'title': '',
		'imageId': '69229861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229864&x=492',
		'title': '',
		'imageId': '69229864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229862&x=492',
		'title': '',
		'imageId': '69229862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229857&x=492',
		'title': '',
		'imageId': '69229857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229851&x=492',
		'title': '',
		'imageId': '69229851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229853&x=492',
		'title': '',
		'imageId': '69229853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229854&x=492',
		'title': '',
		'imageId': '69229854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229855&x=492',
		'title': '',
		'imageId': '69229855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229849&x=492',
		'title': '',
		'imageId': '69229849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229852&x=492',
		'title': '',
		'imageId': '69229852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229860&x=492',
		'title': '',
		'imageId': '69229860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229859&x=492',
		'title': '',
		'imageId': '69229859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978763&docid=69229848&x=492',
		'title': '',
		'imageId': '69229848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978763';

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