var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71360623&x=954',
		'title': '',
		'imageId': '71360623',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019358&x=954',
		'title': '',
		'imageId': '71019358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019348&x=954',
		'title': '',
		'imageId': '71019348',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019363&x=954',
		'title': '',
		'imageId': '71019363',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019360&x=954',
		'title': '',
		'imageId': '71019360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019353&x=954',
		'title': '',
		'imageId': '71019353',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019352&x=954',
		'title': '',
		'imageId': '71019352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019357&x=954',
		'title': '',
		'imageId': '71019357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019364&x=954',
		'title': '',
		'imageId': '71019364',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019354&x=954',
		'title': '',
		'imageId': '71019354',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019362&x=954',
		'title': '',
		'imageId': '71019362',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019349&x=954',
		'title': '',
		'imageId': '71019349',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019361&x=954',
		'title': '',
		'imageId': '71019361',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019350&x=954',
		'title': '',
		'imageId': '71019350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019359&x=954',
		'title': '',
		'imageId': '71019359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019351&x=954',
		'title': '',
		'imageId': '71019351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019355&x=954',
		'title': '',
		'imageId': '71019355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019467&x=954',
		'title': '',
		'imageId': '71019467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71019468&x=954',
		'title': '',
		'imageId': '71019468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4068810&docid=71360617&x=954',
		'title': '',
		'imageId': '71360617',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4068810';

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