var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358187&x=5512',
		'title': '',
		'imageId': '69358187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358190&x=5512',
		'title': '',
		'imageId': '69358190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358191&x=5512',
		'title': '',
		'imageId': '69358191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358192&x=5512',
		'title': '',
		'imageId': '69358192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358193&x=5512',
		'title': '',
		'imageId': '69358193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358194&x=5512',
		'title': '',
		'imageId': '69358194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358195&x=5512',
		'title': '',
		'imageId': '69358195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358196&x=5512',
		'title': '',
		'imageId': '69358196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358197&x=5512',
		'title': '',
		'imageId': '69358197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358198&x=5512',
		'title': '',
		'imageId': '69358198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358199&x=5512',
		'title': '',
		'imageId': '69358199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3984210&docid=69358200&x=5512',
		'title': '',
		'imageId': '69358200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3984210';

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