var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585670&x=028',
		'title': '',
		'imageId': '71585670',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585666&x=028',
		'title': '',
		'imageId': '71585666',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585673&x=028',
		'title': '',
		'imageId': '71585673',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585687&x=028',
		'title': '',
		'imageId': '71585687',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585640&x=028',
		'title': '',
		'imageId': '71585640',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585667&x=028',
		'title': '',
		'imageId': '71585667',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585577&x=028',
		'title': '',
		'imageId': '71585577',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585660&x=028',
		'title': '',
		'imageId': '71585660',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585664&x=028',
		'title': '',
		'imageId': '71585664',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585629&x=028',
		'title': '',
		'imageId': '71585629',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585645&x=028',
		'title': '',
		'imageId': '71585645',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585576&x=028',
		'title': '',
		'imageId': '71585576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585639&x=028',
		'title': '',
		'imageId': '71585639',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585572&x=028',
		'title': '',
		'imageId': '71585572',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585573&x=028',
		'title': '',
		'imageId': '71585573',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585575&x=028',
		'title': '',
		'imageId': '71585575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585638&x=028',
		'title': '',
		'imageId': '71585638',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585659&x=028',
		'title': '',
		'imageId': '71585659',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71585665&x=028',
		'title': '',
		'imageId': '71585665',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4075164&docid=71586167&x=028',
		'title': '',
		'imageId': '71586167',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4075164';

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