var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206453&x=4859',
		'title': '',
		'imageId': '69206453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206449&x=4859',
		'title': '',
		'imageId': '69206449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206452&x=4859',
		'title': '',
		'imageId': '69206452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206455&x=4859',
		'title': '',
		'imageId': '69206455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206458&x=4859',
		'title': '',
		'imageId': '69206458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206451&x=4859',
		'title': '',
		'imageId': '69206451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206454&x=4859',
		'title': '',
		'imageId': '69206454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206450&x=4859',
		'title': '',
		'imageId': '69206450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206456&x=4859',
		'title': '',
		'imageId': '69206456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206448&x=4859',
		'title': '',
		'imageId': '69206448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206457&x=4859',
		'title': '',
		'imageId': '69206457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977952&docid=69206447&x=4859',
		'title': '',
		'imageId': '69206447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977952';

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