var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176016&x=2613',
		'title': '',
		'imageId': '69176016',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176024&x=2613',
		'title': '',
		'imageId': '69176024',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176019&x=2613',
		'title': '',
		'imageId': '69176019',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176018&x=2613',
		'title': '',
		'imageId': '69176018',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176017&x=2613',
		'title': '',
		'imageId': '69176017',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176023&x=2613',
		'title': '',
		'imageId': '69176023',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176021&x=2613',
		'title': '',
		'imageId': '69176021',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176020&x=2613',
		'title': '',
		'imageId': '69176020',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176025&x=2613',
		'title': '',
		'imageId': '69176025',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176026&x=2613',
		'title': '',
		'imageId': '69176026',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976195&docid=69176022&x=2613',
		'title': '',
		'imageId': '69176022',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976195';

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