var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69396995&x=1620',
		'title': '',
		'imageId': '69396995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397003&x=1620',
		'title': '',
		'imageId': '69397003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69396996&x=1620',
		'title': '',
		'imageId': '69396996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69396999&x=1620',
		'title': '',
		'imageId': '69396999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397001&x=1620',
		'title': '',
		'imageId': '69397001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69396997&x=1620',
		'title': '',
		'imageId': '69396997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69396998&x=1620',
		'title': '',
		'imageId': '69396998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397002&x=1620',
		'title': '',
		'imageId': '69397002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397004&x=1620',
		'title': '',
		'imageId': '69397004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397000&x=1620',
		'title': '',
		'imageId': '69397000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397005&x=1620',
		'title': '',
		'imageId': '69397005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985575&docid=69397006&x=1620',
		'title': '',
		'imageId': '69397006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985575';

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