var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591717&x=3321',
		'title': '',
		'imageId': '2591717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591714&x=3321',
		'title': '',
		'imageId': '2591714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591705&x=3321',
		'title': '',
		'imageId': '2591705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591708&x=3321',
		'title': '',
		'imageId': '2591708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591711&x=3321',
		'title': '',
		'imageId': '2591711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591720&x=3321',
		'title': '',
		'imageId': '2591720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591702&x=3321',
		'title': '',
		'imageId': '2591702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=473915&docid=2591723&x=3321',
		'title': '',
		'imageId': '2591723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #473915';

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