var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886092&x=1843',
		'title': '',
		'imageId': '69886092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886093&x=1843',
		'title': '',
		'imageId': '69886093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886091&x=1843',
		'title': '',
		'imageId': '69886091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886087&x=1843',
		'title': '',
		'imageId': '69886087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886089&x=1843',
		'title': '',
		'imageId': '69886089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886095&x=1843',
		'title': '',
		'imageId': '69886095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886088&x=1843',
		'title': '',
		'imageId': '69886088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886090&x=1843',
		'title': '',
		'imageId': '69886090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886086&x=1843',
		'title': '',
		'imageId': '69886086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007282&docid=69886094&x=1843',
		'title': '',
		'imageId': '69886094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007282';

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