var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215544&x=2820',
		'title': '',
		'imageId': '70215544',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215542&x=2820',
		'title': '',
		'imageId': '70215542',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215545&x=2820',
		'title': '',
		'imageId': '70215545',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215546&x=2820',
		'title': '',
		'imageId': '70215546',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215551&x=2820',
		'title': '',
		'imageId': '70215551',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215554&x=2820',
		'title': '',
		'imageId': '70215554',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215558&x=2820',
		'title': '',
		'imageId': '70215558',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215562&x=2820',
		'title': '',
		'imageId': '70215562',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215566&x=2820',
		'title': '',
		'imageId': '70215566',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215567&x=2820',
		'title': '',
		'imageId': '70215567',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215571&x=2820',
		'title': '',
		'imageId': '70215571',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215575&x=2820',
		'title': '',
		'imageId': '70215575',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215576&x=2820',
		'title': '',
		'imageId': '70215576',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215582&x=2820',
		'title': '',
		'imageId': '70215582',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215592&x=2820',
		'title': '',
		'imageId': '70215592',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215594&x=2820',
		'title': '',
		'imageId': '70215594',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215579&x=2820',
		'title': '',
		'imageId': '70215579',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215541&x=2820',
		'title': '',
		'imageId': '70215541',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019462&docid=70215543&x=2820',
		'title': '',
		'imageId': '70215543',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019462';

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