var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=68153121&x=5743',
		'title': '',
		'imageId': '68153121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633949&x=5743',
		'title': '',
		'imageId': '67633949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633937&x=5743',
		'title': '',
		'imageId': '67633937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633951&x=5743',
		'title': '',
		'imageId': '67633951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633940&x=5743',
		'title': '',
		'imageId': '67633940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633950&x=5743',
		'title': '',
		'imageId': '67633950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633938&x=5743',
		'title': '',
		'imageId': '67633938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633943&x=5743',
		'title': '',
		'imageId': '67633943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633945&x=5743',
		'title': '',
		'imageId': '67633945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633946&x=5743',
		'title': '',
		'imageId': '67633946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633941&x=5743',
		'title': '',
		'imageId': '67633941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633944&x=5743',
		'title': '',
		'imageId': '67633944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633942&x=5743',
		'title': '',
		'imageId': '67633942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633948&x=5743',
		'title': '',
		'imageId': '67633948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633947&x=5743',
		'title': '',
		'imageId': '67633947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3877336&docid=67633939&x=5743',
		'title': '',
		'imageId': '67633939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3877336';

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