var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653217&x=1253',
		'title': '',
		'imageId': '69653217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653224&x=1253',
		'title': '',
		'imageId': '69653224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653214&x=1253',
		'title': '',
		'imageId': '69653214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653231&x=1253',
		'title': '',
		'imageId': '69653231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653216&x=1253',
		'title': '',
		'imageId': '69653216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653226&x=1253',
		'title': '',
		'imageId': '69653226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653227&x=1253',
		'title': '',
		'imageId': '69653227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653223&x=1253',
		'title': '',
		'imageId': '69653223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653222&x=1253',
		'title': '',
		'imageId': '69653222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653213&x=1253',
		'title': '',
		'imageId': '69653213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653228&x=1253',
		'title': '',
		'imageId': '69653228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653225&x=1253',
		'title': '',
		'imageId': '69653225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653230&x=1253',
		'title': '',
		'imageId': '69653230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653229&x=1253',
		'title': '',
		'imageId': '69653229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653215&x=1253',
		'title': '',
		'imageId': '69653215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653221&x=1253',
		'title': '',
		'imageId': '69653221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653219&x=1253',
		'title': '',
		'imageId': '69653219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653218&x=1253',
		'title': '',
		'imageId': '69653218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4002567&docid=69653220&x=1253',
		'title': '',
		'imageId': '69653220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4002567';

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