var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193769&x=3218',
		'title': '',
		'imageId': '67193769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193770&x=3218',
		'title': '',
		'imageId': '67193770',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193771&x=3218',
		'title': '',
		'imageId': '67193771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193772&x=3218',
		'title': '',
		'imageId': '67193772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193773&x=3218',
		'title': '',
		'imageId': '67193773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193774&x=3218',
		'title': '',
		'imageId': '67193774',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193776&x=3218',
		'title': '',
		'imageId': '67193776',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193777&x=3218',
		'title': '',
		'imageId': '67193777',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193778&x=3218',
		'title': '',
		'imageId': '67193778',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193779&x=3218',
		'title': '',
		'imageId': '67193779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193780&x=3218',
		'title': '',
		'imageId': '67193780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3891921&docid=67193781&x=3218',
		'title': '',
		'imageId': '67193781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3891921';

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