var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025360&x=4127',
		'title': '',
		'imageId': '69025360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025358&x=4127',
		'title': '',
		'imageId': '69025358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025359&x=4127',
		'title': '',
		'imageId': '69025359',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025369&x=4127',
		'title': '',
		'imageId': '69025369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025367&x=4127',
		'title': '',
		'imageId': '69025367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025361&x=4127',
		'title': '',
		'imageId': '69025361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025364&x=4127',
		'title': '',
		'imageId': '69025364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025362&x=4127',
		'title': '',
		'imageId': '69025362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025363&x=4127',
		'title': '',
		'imageId': '69025363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025366&x=4127',
		'title': '',
		'imageId': '69025366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025365&x=4127',
		'title': '',
		'imageId': '69025365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970271&docid=69025368&x=4127',
		'title': '',
		'imageId': '69025368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970271';

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