var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561022&x=3659',
		'title': '',
		'imageId': '69561022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561021&x=3659',
		'title': '',
		'imageId': '69561021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561023&x=3659',
		'title': '',
		'imageId': '69561023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561014&x=3659',
		'title': '',
		'imageId': '69561014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561012&x=3659',
		'title': '',
		'imageId': '69561012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561013&x=3659',
		'title': '',
		'imageId': '69561013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561015&x=3659',
		'title': '',
		'imageId': '69561015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561016&x=3659',
		'title': '',
		'imageId': '69561016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561017&x=3659',
		'title': '',
		'imageId': '69561017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561018&x=3659',
		'title': '',
		'imageId': '69561018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561019&x=3659',
		'title': '',
		'imageId': '69561019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3993270&docid=69561020&x=3659',
		'title': '',
		'imageId': '69561020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3993270';

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