var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028896&x=5030',
		'title': '',
		'imageId': '69028896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028903&x=5030',
		'title': '',
		'imageId': '69028903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028894&x=5030',
		'title': '',
		'imageId': '69028894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028899&x=5030',
		'title': '',
		'imageId': '69028899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028897&x=5030',
		'title': '',
		'imageId': '69028897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028898&x=5030',
		'title': '',
		'imageId': '69028898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028900&x=5030',
		'title': '',
		'imageId': '69028900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028895&x=5030',
		'title': '',
		'imageId': '69028895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028901&x=5030',
		'title': '',
		'imageId': '69028901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970437&docid=69028902&x=5030',
		'title': '',
		'imageId': '69028902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970437';

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