var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69013933&x=847',
		'title': '',
		'imageId': '69013933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69013936&x=847',
		'title': '',
		'imageId': '69013936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69013939&x=847',
		'title': '',
		'imageId': '69013939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69013943&x=847',
		'title': '',
		'imageId': '69013943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69013946&x=847',
		'title': '',
		'imageId': '69013946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69013957&x=847',
		'title': '',
		'imageId': '69013957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69014003&x=847',
		'title': '',
		'imageId': '69014003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69014007&x=847',
		'title': '',
		'imageId': '69014007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69014011&x=847',
		'title': '',
		'imageId': '69014011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976348&docid=69014014&x=847',
		'title': '',
		'imageId': '69014014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976348';

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