var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646459&x=248',
		'title': '',
		'imageId': '71646459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646461&x=248',
		'title': '',
		'imageId': '71646461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646463&x=248',
		'title': '',
		'imageId': '71646463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646458&x=248',
		'title': '',
		'imageId': '71646458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646464&x=248',
		'title': '',
		'imageId': '71646464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646460&x=248',
		'title': '',
		'imageId': '71646460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646457&x=248',
		'title': '',
		'imageId': '71646457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646466&x=248',
		'title': '',
		'imageId': '71646466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646467&x=248',
		'title': '',
		'imageId': '71646467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646465&x=248',
		'title': '',
		'imageId': '71646465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4086231&docid=71646462&x=248',
		'title': '',
		'imageId': '71646462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4086231';

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