var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189943&x=5334',
		'title': '',
		'imageId': '69189943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189944&x=5334',
		'title': '',
		'imageId': '69189944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189945&x=5334',
		'title': '',
		'imageId': '69189945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189946&x=5334',
		'title': '',
		'imageId': '69189946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189947&x=5334',
		'title': '',
		'imageId': '69189947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189948&x=5334',
		'title': '',
		'imageId': '69189948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189953&x=5334',
		'title': '',
		'imageId': '69189953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189954&x=5334',
		'title': '',
		'imageId': '69189954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189955&x=5334',
		'title': '',
		'imageId': '69189955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189956&x=5334',
		'title': '',
		'imageId': '69189956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189957&x=5334',
		'title': '',
		'imageId': '69189957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976913&docid=69189958&x=5334',
		'title': '',
		'imageId': '69189958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976913';

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