var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064000&x=3859',
		'title': '',
		'imageId': '69064000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064002&x=3859',
		'title': '',
		'imageId': '69064002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064003&x=3859',
		'title': '',
		'imageId': '69064003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064004&x=3859',
		'title': '',
		'imageId': '69064004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064005&x=3859',
		'title': '',
		'imageId': '69064005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064007&x=3859',
		'title': '',
		'imageId': '69064007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064008&x=3859',
		'title': '',
		'imageId': '69064008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064013&x=3859',
		'title': '',
		'imageId': '69064013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064009&x=3859',
		'title': '',
		'imageId': '69064009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064010&x=3859',
		'title': '',
		'imageId': '69064010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064011&x=3859',
		'title': '',
		'imageId': '69064011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971963&docid=69064012&x=3859',
		'title': '',
		'imageId': '69064012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971963';

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