var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020709&x=3235',
		'title': '',
		'imageId': '70020709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020714&x=3235',
		'title': '',
		'imageId': '70020714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020707&x=3235',
		'title': '',
		'imageId': '70020707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020708&x=3235',
		'title': '',
		'imageId': '70020708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020718&x=3235',
		'title': '',
		'imageId': '70020718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020712&x=3235',
		'title': '',
		'imageId': '70020712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020711&x=3235',
		'title': '',
		'imageId': '70020711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020706&x=3235',
		'title': '',
		'imageId': '70020706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020715&x=3235',
		'title': '',
		'imageId': '70020715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020717&x=3235',
		'title': '',
		'imageId': '70020717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020719&x=3235',
		'title': '',
		'imageId': '70020719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020716&x=3235',
		'title': '',
		'imageId': '70020716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020710&x=3235',
		'title': '',
		'imageId': '70020710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020713&x=3235',
		'title': '',
		'imageId': '70020713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020704&x=3235',
		'title': '',
		'imageId': '70020704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012641&docid=70020705&x=3235',
		'title': '',
		'imageId': '70020705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012641';

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