var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000320&x=3337',
		'title': '',
		'imageId': '69000320',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000322&x=3337',
		'title': '',
		'imageId': '69000322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000323&x=3337',
		'title': '',
		'imageId': '69000323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000324&x=3337',
		'title': '',
		'imageId': '69000324',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000325&x=3337',
		'title': '',
		'imageId': '69000325',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000326&x=3337',
		'title': '',
		'imageId': '69000326',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000327&x=3337',
		'title': '',
		'imageId': '69000327',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000328&x=3337',
		'title': '',
		'imageId': '69000328',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000329&x=3337',
		'title': '',
		'imageId': '69000329',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000330&x=3337',
		'title': '',
		'imageId': '69000330',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968989&docid=69000331&x=3337',
		'title': '',
		'imageId': '69000331',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968989';

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