var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611085&x=3215',
		'title': '',
		'imageId': '2611085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611088&x=3215',
		'title': '',
		'imageId': '2611088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611091&x=3215',
		'title': '',
		'imageId': '2611091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611094&x=3215',
		'title': '',
		'imageId': '2611094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611097&x=3215',
		'title': '',
		'imageId': '2611097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611100&x=3215',
		'title': '',
		'imageId': '2611100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611103&x=3215',
		'title': '',
		'imageId': '2611103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611106&x=3215',
		'title': '',
		'imageId': '2611106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611109&x=3215',
		'title': '',
		'imageId': '2611109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611112&x=3215',
		'title': '',
		'imageId': '2611112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611115&x=3215',
		'title': '',
		'imageId': '2611115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=477169&docid=2611118&x=3215',
		'title': '',
		'imageId': '2611118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #477169';

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