var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525047&x=5019',
		'title': '',
		'imageId': '69525047',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525053&x=5019',
		'title': '',
		'imageId': '69525053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525056&x=5019',
		'title': '',
		'imageId': '69525056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525059&x=5019',
		'title': '',
		'imageId': '69525059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525062&x=5019',
		'title': '',
		'imageId': '69525062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525068&x=5019',
		'title': '',
		'imageId': '69525068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525085&x=5019',
		'title': '',
		'imageId': '69525085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525088&x=5019',
		'title': '',
		'imageId': '69525088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525091&x=5019',
		'title': '',
		'imageId': '69525091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991573&docid=69525094&x=5019',
		'title': '',
		'imageId': '69525094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991573';

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