var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161863&x=452',
		'title': '',
		'imageId': '71161863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161883&x=452',
		'title': '',
		'imageId': '71161883',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161898&x=452',
		'title': '',
		'imageId': '71161898',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161862&x=452',
		'title': '',
		'imageId': '71161862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161841&x=452',
		'title': '',
		'imageId': '71161841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161842&x=452',
		'title': '',
		'imageId': '71161842',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161846&x=452',
		'title': '',
		'imageId': '71161846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161860&x=452',
		'title': '',
		'imageId': '71161860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161845&x=452',
		'title': '',
		'imageId': '71161845',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161859&x=452',
		'title': '',
		'imageId': '71161859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161861&x=452',
		'title': '',
		'imageId': '71161861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161864&x=452',
		'title': '',
		'imageId': '71161864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161877&x=452',
		'title': '',
		'imageId': '71161877',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161878&x=452',
		'title': '',
		'imageId': '71161878',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161879&x=452',
		'title': '',
		'imageId': '71161879',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161880&x=452',
		'title': '',
		'imageId': '71161880',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161881&x=452',
		'title': '',
		'imageId': '71161881',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161887&x=452',
		'title': '',
		'imageId': '71161887',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161844&x=452',
		'title': '',
		'imageId': '71161844',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4056421&docid=71161843&x=452',
		'title': '',
		'imageId': '71161843',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4056421';

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