var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266497&x=5020',
		'title': '',
		'imageId': '69266497',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266503&x=5020',
		'title': '',
		'imageId': '69266503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266500&x=5020',
		'title': '',
		'imageId': '69266500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266499&x=5020',
		'title': '',
		'imageId': '69266499',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266501&x=5020',
		'title': '',
		'imageId': '69266501',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266495&x=5020',
		'title': '',
		'imageId': '69266495',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266498&x=5020',
		'title': '',
		'imageId': '69266498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266502&x=5020',
		'title': '',
		'imageId': '69266502',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266504&x=5020',
		'title': '',
		'imageId': '69266504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3980116&docid=69266496&x=5020',
		'title': '',
		'imageId': '69266496',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3980116';

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