var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166664&x=4227',
		'title': '',
		'imageId': '69166664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166665&x=4227',
		'title': '',
		'imageId': '69166665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166671&x=4227',
		'title': '',
		'imageId': '69166671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166672&x=4227',
		'title': '',
		'imageId': '69166672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166673&x=4227',
		'title': '',
		'imageId': '69166673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166674&x=4227',
		'title': '',
		'imageId': '69166674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166675&x=4227',
		'title': '',
		'imageId': '69166675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166666&x=4227',
		'title': '',
		'imageId': '69166666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166667&x=4227',
		'title': '',
		'imageId': '69166667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166680&x=4227',
		'title': '',
		'imageId': '69166680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166682&x=4227',
		'title': '',
		'imageId': '69166682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166684&x=4227',
		'title': '',
		'imageId': '69166684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166681&x=4227',
		'title': '',
		'imageId': '69166681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166683&x=4227',
		'title': '',
		'imageId': '69166683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975749&docid=69166670&x=4227',
		'title': '',
		'imageId': '69166670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975749';

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