var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267021&x=4847',
		'title': '',
		'imageId': '69267021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267024&x=4847',
		'title': '',
		'imageId': '69267024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267016&x=4847',
		'title': '',
		'imageId': '69267016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267026&x=4847',
		'title': '',
		'imageId': '69267026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267022&x=4847',
		'title': '',
		'imageId': '69267022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267023&x=4847',
		'title': '',
		'imageId': '69267023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267017&x=4847',
		'title': '',
		'imageId': '69267017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267020&x=4847',
		'title': '',
		'imageId': '69267020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267019&x=4847',
		'title': '',
		'imageId': '69267019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267025&x=4847',
		'title': '',
		'imageId': '69267025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980142&docid=69267018&x=4847',
		'title': '',
		'imageId': '69267018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980142';

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