var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586353&x=3631',
		'title': '',
		'imageId': '67586353',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586348&x=3631',
		'title': '',
		'imageId': '67586348',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586351&x=3631',
		'title': '',
		'imageId': '67586351',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586349&x=3631',
		'title': '',
		'imageId': '67586349',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586350&x=3631',
		'title': '',
		'imageId': '67586350',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586356&x=3631',
		'title': '',
		'imageId': '67586356',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586357&x=3631',
		'title': '',
		'imageId': '67586357',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586352&x=3631',
		'title': '',
		'imageId': '67586352',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586358&x=3631',
		'title': '',
		'imageId': '67586358',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586354&x=3631',
		'title': '',
		'imageId': '67586354',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586355&x=3631',
		'title': '',
		'imageId': '67586355',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586688&x=3631',
		'title': '',
		'imageId': '67586688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586689&x=3631',
		'title': '',
		'imageId': '67586689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67586687&x=3631',
		'title': '',
		'imageId': '67586687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67968166&x=3631',
		'title': '',
		'imageId': '67968166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950645&docid=67968167&x=3631',
		'title': '',
		'imageId': '67968167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950645';

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