var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131877&x=3952',
		'title': '',
		'imageId': '69131877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131876&x=3952',
		'title': '',
		'imageId': '69131876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131872&x=3952',
		'title': '',
		'imageId': '69131872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131866&x=3952',
		'title': '',
		'imageId': '69131866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131868&x=3952',
		'title': '',
		'imageId': '69131868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131870&x=3952',
		'title': '',
		'imageId': '69131870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131874&x=3952',
		'title': '',
		'imageId': '69131874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131869&x=3952',
		'title': '',
		'imageId': '69131869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131867&x=3952',
		'title': '',
		'imageId': '69131867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131873&x=3952',
		'title': '',
		'imageId': '69131873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131871&x=3952',
		'title': '',
		'imageId': '69131871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974356&docid=69131875&x=3952',
		'title': '',
		'imageId': '69131875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974356';

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