var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982082&x=213',
		'title': '',
		'imageId': '69982082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982083&x=213',
		'title': '',
		'imageId': '69982083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982090&x=213',
		'title': '',
		'imageId': '69982090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982085&x=213',
		'title': '',
		'imageId': '69982085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982091&x=213',
		'title': '',
		'imageId': '69982091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982084&x=213',
		'title': '',
		'imageId': '69982084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982089&x=213',
		'title': '',
		'imageId': '69982089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982088&x=213',
		'title': '',
		'imageId': '69982088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982086&x=213',
		'title': '',
		'imageId': '69982086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010770&docid=69982087&x=213',
		'title': '',
		'imageId': '69982087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010770';

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