var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554328&x=3149',
		'title': '',
		'imageId': '68554328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554329&x=3149',
		'title': '',
		'imageId': '68554329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554330&x=3149',
		'title': '',
		'imageId': '68554330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554331&x=3149',
		'title': '',
		'imageId': '68554331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554332&x=3149',
		'title': '',
		'imageId': '68554332',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554333&x=3149',
		'title': '',
		'imageId': '68554333',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554334&x=3149',
		'title': '',
		'imageId': '68554334',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554335&x=3149',
		'title': '',
		'imageId': '68554335',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554336&x=3149',
		'title': '',
		'imageId': '68554336',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554337&x=3149',
		'title': '',
		'imageId': '68554337',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948600&docid=68554327&x=3149',
		'title': '',
		'imageId': '68554327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948600';

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