var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256025&x=1431',
		'title': '',
		'imageId': '69256025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256027&x=1431',
		'title': '',
		'imageId': '69256027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256026&x=1431',
		'title': '',
		'imageId': '69256026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256029&x=1431',
		'title': '',
		'imageId': '69256029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256022&x=1431',
		'title': '',
		'imageId': '69256022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256024&x=1431',
		'title': '',
		'imageId': '69256024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256020&x=1431',
		'title': '',
		'imageId': '69256020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256023&x=1431',
		'title': '',
		'imageId': '69256023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256018&x=1431',
		'title': '',
		'imageId': '69256018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256021&x=1431',
		'title': '',
		'imageId': '69256021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256028&x=1431',
		'title': '',
		'imageId': '69256028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3979763&docid=69256019&x=1431',
		'title': '',
		'imageId': '69256019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3979763';

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