var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491500&x=5156',
		'title': '',
		'imageId': '69491500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491495&x=5156',
		'title': '',
		'imageId': '69491495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491501&x=5156',
		'title': '',
		'imageId': '69491501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491497&x=5156',
		'title': '',
		'imageId': '69491497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491503&x=5156',
		'title': '',
		'imageId': '69491503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491499&x=5156',
		'title': '',
		'imageId': '69491499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491504&x=5156',
		'title': '',
		'imageId': '69491504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491493&x=5156',
		'title': '',
		'imageId': '69491493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491506&x=5156',
		'title': '',
		'imageId': '69491506',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491505&x=5156',
		'title': '',
		'imageId': '69491505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491496&x=5156',
		'title': '',
		'imageId': '69491496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016572&docid=69491507&x=5156',
		'title': '',
		'imageId': '69491507',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016572';

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