var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128871&x=320',
		'title': '',
		'imageId': '71128871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128854&x=320',
		'title': '',
		'imageId': '71128854',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128873&x=320',
		'title': '',
		'imageId': '71128873',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128861&x=320',
		'title': '',
		'imageId': '71128861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128869&x=320',
		'title': '',
		'imageId': '71128869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128866&x=320',
		'title': '',
		'imageId': '71128866',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128867&x=320',
		'title': '',
		'imageId': '71128867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128868&x=320',
		'title': '',
		'imageId': '71128868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128864&x=320',
		'title': '',
		'imageId': '71128864',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128853&x=320',
		'title': '',
		'imageId': '71128853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128872&x=320',
		'title': '',
		'imageId': '71128872',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128862&x=320',
		'title': '',
		'imageId': '71128862',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128863&x=320',
		'title': '',
		'imageId': '71128863',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128870&x=320',
		'title': '',
		'imageId': '71128870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128857&x=320',
		'title': '',
		'imageId': '71128857',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128860&x=320',
		'title': '',
		'imageId': '71128860',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128865&x=320',
		'title': '',
		'imageId': '71128865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128858&x=320',
		'title': '',
		'imageId': '71128858',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128855&x=320',
		'title': '',
		'imageId': '71128855',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055045&docid=71128859&x=320',
		'title': '',
		'imageId': '71128859',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055045';

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