var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928092&x=5634',
		'title': '',
		'imageId': '69928092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928100&x=5634',
		'title': '',
		'imageId': '69928100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928101&x=5634',
		'title': '',
		'imageId': '69928101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928097&x=5634',
		'title': '',
		'imageId': '69928097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928096&x=5634',
		'title': '',
		'imageId': '69928096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928099&x=5634',
		'title': '',
		'imageId': '69928099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928091&x=5634',
		'title': '',
		'imageId': '69928091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928094&x=5634',
		'title': '',
		'imageId': '69928094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928090&x=5634',
		'title': '',
		'imageId': '69928090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928095&x=5634',
		'title': '',
		'imageId': '69928095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928093&x=5634',
		'title': '',
		'imageId': '69928093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008699&docid=69928098&x=5634',
		'title': '',
		'imageId': '69928098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008699';

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