var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661099&x=4145',
		'title': '',
		'imageId': '69661099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661093&x=4145',
		'title': '',
		'imageId': '69661093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661096&x=4145',
		'title': '',
		'imageId': '69661096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661098&x=4145',
		'title': '',
		'imageId': '69661098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661088&x=4145',
		'title': '',
		'imageId': '69661088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661090&x=4145',
		'title': '',
		'imageId': '69661090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661089&x=4145',
		'title': '',
		'imageId': '69661089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661092&x=4145',
		'title': '',
		'imageId': '69661092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661097&x=4145',
		'title': '',
		'imageId': '69661097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661091&x=4145',
		'title': '',
		'imageId': '69661091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661094&x=4145',
		'title': '',
		'imageId': '69661094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998088&docid=69661095&x=4145',
		'title': '',
		'imageId': '69661095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998088';

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