var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465912&x=1244',
		'title': '',
		'imageId': '71465912',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465918&x=1244',
		'title': '',
		'imageId': '71465918',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465927&x=1244',
		'title': '',
		'imageId': '71465927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465917&x=1244',
		'title': '',
		'imageId': '71465917',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465907&x=1244',
		'title': '',
		'imageId': '71465907',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465921&x=1244',
		'title': '',
		'imageId': '71465921',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465922&x=1244',
		'title': '',
		'imageId': '71465922',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465915&x=1244',
		'title': '',
		'imageId': '71465915',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465916&x=1244',
		'title': '',
		'imageId': '71465916',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465910&x=1244',
		'title': '',
		'imageId': '71465910',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465923&x=1244',
		'title': '',
		'imageId': '71465923',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465919&x=1244',
		'title': '',
		'imageId': '71465919',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465911&x=1244',
		'title': '',
		'imageId': '71465911',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465914&x=1244',
		'title': '',
		'imageId': '71465914',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465926&x=1244',
		'title': '',
		'imageId': '71465926',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465913&x=1244',
		'title': '',
		'imageId': '71465913',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465925&x=1244',
		'title': '',
		'imageId': '71465925',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465920&x=1244',
		'title': '',
		'imageId': '71465920',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4081466&docid=71465924&x=1244',
		'title': '',
		'imageId': '71465924',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4081466';

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