var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184031&x=2438',
		'title': '',
		'imageId': '69184031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184032&x=2438',
		'title': '',
		'imageId': '69184032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184033&x=2438',
		'title': '',
		'imageId': '69184033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184034&x=2438',
		'title': '',
		'imageId': '69184034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184035&x=2438',
		'title': '',
		'imageId': '69184035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184037&x=2438',
		'title': '',
		'imageId': '69184037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184038&x=2438',
		'title': '',
		'imageId': '69184038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184039&x=2438',
		'title': '',
		'imageId': '69184039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184040&x=2438',
		'title': '',
		'imageId': '69184040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184041&x=2438',
		'title': '',
		'imageId': '69184041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184042&x=2438',
		'title': '',
		'imageId': '69184042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3976682&docid=69184043&x=2438',
		'title': '',
		'imageId': '69184043',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3976682';

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