var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153291&x=4726',
		'title': '',
		'imageId': '70153291',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153292&x=4726',
		'title': '',
		'imageId': '70153292',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153293&x=4726',
		'title': '',
		'imageId': '70153293',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153294&x=4726',
		'title': '',
		'imageId': '70153294',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153295&x=4726',
		'title': '',
		'imageId': '70153295',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153296&x=4726',
		'title': '',
		'imageId': '70153296',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153297&x=4726',
		'title': '',
		'imageId': '70153297',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153298&x=4726',
		'title': '',
		'imageId': '70153298',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153299&x=4726',
		'title': '',
		'imageId': '70153299',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153300&x=4726',
		'title': '',
		'imageId': '70153300',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153301&x=4726',
		'title': '',
		'imageId': '70153301',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153302&x=4726',
		'title': '',
		'imageId': '70153302',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153303&x=4726',
		'title': '',
		'imageId': '70153303',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153304&x=4726',
		'title': '',
		'imageId': '70153304',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153305&x=4726',
		'title': '',
		'imageId': '70153305',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153306&x=4726',
		'title': '',
		'imageId': '70153306',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153307&x=4726',
		'title': '',
		'imageId': '70153307',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153308&x=4726',
		'title': '',
		'imageId': '70153308',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153309&x=4726',
		'title': '',
		'imageId': '70153309',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016937&docid=70153310&x=4726',
		'title': '',
		'imageId': '70153310',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016937';

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