var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958938&x=2130',
		'title': '',
		'imageId': '67958938',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958934&x=2130',
		'title': '',
		'imageId': '67958934',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958943&x=2130',
		'title': '',
		'imageId': '67958943',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958945&x=2130',
		'title': '',
		'imageId': '67958945',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958936&x=2130',
		'title': '',
		'imageId': '67958936',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958932&x=2130',
		'title': '',
		'imageId': '67958932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958937&x=2130',
		'title': '',
		'imageId': '67958937',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958931&x=2130',
		'title': '',
		'imageId': '67958931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958940&x=2130',
		'title': '',
		'imageId': '67958940',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958948&x=2130',
		'title': '',
		'imageId': '67958948',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958933&x=2130',
		'title': '',
		'imageId': '67958933',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958935&x=2130',
		'title': '',
		'imageId': '67958935',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958947&x=2130',
		'title': '',
		'imageId': '67958947',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958941&x=2130',
		'title': '',
		'imageId': '67958941',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958944&x=2130',
		'title': '',
		'imageId': '67958944',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958942&x=2130',
		'title': '',
		'imageId': '67958942',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958946&x=2130',
		'title': '',
		'imageId': '67958946',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958939&x=2130',
		'title': '',
		'imageId': '67958939',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3922387&docid=67958930&x=2130',
		'title': '',
		'imageId': '67958930',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3922387';

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