var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063712&x=3159',
		'title': '',
		'imageId': '69063712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063714&x=3159',
		'title': '',
		'imageId': '69063714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063715&x=3159',
		'title': '',
		'imageId': '69063715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063716&x=3159',
		'title': '',
		'imageId': '69063716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063717&x=3159',
		'title': '',
		'imageId': '69063717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063718&x=3159',
		'title': '',
		'imageId': '69063718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063719&x=3159',
		'title': '',
		'imageId': '69063719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063720&x=3159',
		'title': '',
		'imageId': '69063720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063721&x=3159',
		'title': '',
		'imageId': '69063721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971941&docid=69063722&x=3159',
		'title': '',
		'imageId': '69063722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971941';

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