var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027587&x=337',
		'title': '',
		'imageId': '69027587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027579&x=337',
		'title': '',
		'imageId': '69027579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027589&x=337',
		'title': '',
		'imageId': '69027589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027588&x=337',
		'title': '',
		'imageId': '69027588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027590&x=337',
		'title': '',
		'imageId': '69027590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027584&x=337',
		'title': '',
		'imageId': '69027584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027582&x=337',
		'title': '',
		'imageId': '69027582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027583&x=337',
		'title': '',
		'imageId': '69027583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027580&x=337',
		'title': '',
		'imageId': '69027580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027581&x=337',
		'title': '',
		'imageId': '69027581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027586&x=337',
		'title': '',
		'imageId': '69027586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3970356&docid=69027585&x=337',
		'title': '',
		'imageId': '69027585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3970356';

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