var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964702&x=1725',
		'title': '',
		'imageId': '69964702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964598&x=1725',
		'title': '',
		'imageId': '69964598',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964586&x=1725',
		'title': '',
		'imageId': '69964586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964600&x=1725',
		'title': '',
		'imageId': '69964600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964601&x=1725',
		'title': '',
		'imageId': '69964601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964588&x=1725',
		'title': '',
		'imageId': '69964588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964595&x=1725',
		'title': '',
		'imageId': '69964595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964585&x=1725',
		'title': '',
		'imageId': '69964585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964589&x=1725',
		'title': '',
		'imageId': '69964589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964587&x=1725',
		'title': '',
		'imageId': '69964587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964591&x=1725',
		'title': '',
		'imageId': '69964591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964590&x=1725',
		'title': '',
		'imageId': '69964590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964592&x=1725',
		'title': '',
		'imageId': '69964592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964605&x=1725',
		'title': '',
		'imageId': '69964605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964597&x=1725',
		'title': '',
		'imageId': '69964597',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964599&x=1725',
		'title': '',
		'imageId': '69964599',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964602&x=1725',
		'title': '',
		'imageId': '69964602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964593&x=1725',
		'title': '',
		'imageId': '69964593',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964596&x=1725',
		'title': '',
		'imageId': '69964596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964594&x=1725',
		'title': '',
		'imageId': '69964594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964604&x=1725',
		'title': '',
		'imageId': '69964604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010101&docid=69964603&x=1725',
		'title': '',
		'imageId': '69964603',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010101';

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