var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063689&x=2322',
		'title': '',
		'imageId': '69063689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063691&x=2322',
		'title': '',
		'imageId': '69063691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063692&x=2322',
		'title': '',
		'imageId': '69063692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063693&x=2322',
		'title': '',
		'imageId': '69063693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063694&x=2322',
		'title': '',
		'imageId': '69063694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063695&x=2322',
		'title': '',
		'imageId': '69063695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063696&x=2322',
		'title': '',
		'imageId': '69063696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063697&x=2322',
		'title': '',
		'imageId': '69063697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063698&x=2322',
		'title': '',
		'imageId': '69063698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063699&x=2322',
		'title': '',
		'imageId': '69063699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971939&docid=69063700&x=2322',
		'title': '',
		'imageId': '69063700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971939';

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