var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948403&x=4853',
		'title': '',
		'imageId': '69948403',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948404&x=4853',
		'title': '',
		'imageId': '69948404',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948416&x=4853',
		'title': '',
		'imageId': '69948416',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948419&x=4853',
		'title': '',
		'imageId': '69948419',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948422&x=4853',
		'title': '',
		'imageId': '69948422',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948427&x=4853',
		'title': '',
		'imageId': '69948427',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948429&x=4853',
		'title': '',
		'imageId': '69948429',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948432&x=4853',
		'title': '',
		'imageId': '69948432',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948437&x=4853',
		'title': '',
		'imageId': '69948437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948438&x=4853',
		'title': '',
		'imageId': '69948438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009533&docid=69948441&x=4853',
		'title': '',
		'imageId': '69948441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009533';

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