var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327200&x=1624',
		'title': '',
		'imageId': '69327200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327193&x=1624',
		'title': '',
		'imageId': '69327193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327197&x=1624',
		'title': '',
		'imageId': '69327197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327199&x=1624',
		'title': '',
		'imageId': '69327199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327195&x=1624',
		'title': '',
		'imageId': '69327195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327202&x=1624',
		'title': '',
		'imageId': '69327202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327192&x=1624',
		'title': '',
		'imageId': '69327192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327201&x=1624',
		'title': '',
		'imageId': '69327201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327191&x=1624',
		'title': '',
		'imageId': '69327191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327196&x=1624',
		'title': '',
		'imageId': '69327196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327198&x=1624',
		'title': '',
		'imageId': '69327198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982940&docid=69327194&x=1624',
		'title': '',
		'imageId': '69327194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982940';

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