var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453821&x=5430',
		'title': '',
		'imageId': '70453821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453811&x=5430',
		'title': '',
		'imageId': '70453811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453814&x=5430',
		'title': '',
		'imageId': '70453814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453815&x=5430',
		'title': '',
		'imageId': '70453815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453812&x=5430',
		'title': '',
		'imageId': '70453812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453813&x=5430',
		'title': '',
		'imageId': '70453813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453817&x=5430',
		'title': '',
		'imageId': '70453817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453816&x=5430',
		'title': '',
		'imageId': '70453816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453818&x=5430',
		'title': '',
		'imageId': '70453818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453822&x=5430',
		'title': '',
		'imageId': '70453822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029798&docid=70453819&x=5430',
		'title': '',
		'imageId': '70453819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029798';

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