var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580948&x=1836',
		'title': '',
		'imageId': '66580948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580951&x=1836',
		'title': '',
		'imageId': '66580951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580952&x=1836',
		'title': '',
		'imageId': '66580952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580953&x=1836',
		'title': '',
		'imageId': '66580953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580944&x=1836',
		'title': '',
		'imageId': '66580944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580945&x=1836',
		'title': '',
		'imageId': '66580945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580943&x=1836',
		'title': '',
		'imageId': '66580943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580946&x=1836',
		'title': '',
		'imageId': '66580946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580947&x=1836',
		'title': '',
		'imageId': '66580947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580950&x=1836',
		'title': '',
		'imageId': '66580950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3866908&docid=66580949&x=1836',
		'title': '',
		'imageId': '66580949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3866908';

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