var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796859&x=4413',
		'title': '',
		'imageId': '69796859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796862&x=4413',
		'title': '',
		'imageId': '69796862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796856&x=4413',
		'title': '',
		'imageId': '69796856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796861&x=4413',
		'title': '',
		'imageId': '69796861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796858&x=4413',
		'title': '',
		'imageId': '69796858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796864&x=4413',
		'title': '',
		'imageId': '69796864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796857&x=4413',
		'title': '',
		'imageId': '69796857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796863&x=4413',
		'title': '',
		'imageId': '69796863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69796860&x=4413',
		'title': '',
		'imageId': '69796860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69797036&x=4413',
		'title': '',
		'imageId': '69797036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69797037&x=4413',
		'title': '',
		'imageId': '69797037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010291&docid=69797038&x=4413',
		'title': '',
		'imageId': '69797038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010291';

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