var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139923&x=401',
		'title': '',
		'imageId': '69139923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139922&x=401',
		'title': '',
		'imageId': '69139922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139919&x=401',
		'title': '',
		'imageId': '69139919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139921&x=401',
		'title': '',
		'imageId': '69139921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139918&x=401',
		'title': '',
		'imageId': '69139918',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139920&x=401',
		'title': '',
		'imageId': '69139920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139917&x=401',
		'title': '',
		'imageId': '69139917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139915&x=401',
		'title': '',
		'imageId': '69139915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139927&x=401',
		'title': '',
		'imageId': '69139927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139916&x=401',
		'title': '',
		'imageId': '69139916',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139925&x=401',
		'title': '',
		'imageId': '69139925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974725&docid=69139926&x=401',
		'title': '',
		'imageId': '69139926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974725';

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