var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964111&x=3850',
		'title': '',
		'imageId': '69964111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964117&x=3850',
		'title': '',
		'imageId': '69964117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964125&x=3850',
		'title': '',
		'imageId': '69964125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964128&x=3850',
		'title': '',
		'imageId': '69964128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964131&x=3850',
		'title': '',
		'imageId': '69964131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964134&x=3850',
		'title': '',
		'imageId': '69964134',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964138&x=3850',
		'title': '',
		'imageId': '69964138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964142&x=3850',
		'title': '',
		'imageId': '69964142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964148&x=3850',
		'title': '',
		'imageId': '69964148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970798&docid=69964155&x=3850',
		'title': '',
		'imageId': '69964155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970798';

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