var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853012&x=451',
		'title': '',
		'imageId': '69853012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853008&x=451',
		'title': '',
		'imageId': '69853008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853011&x=451',
		'title': '',
		'imageId': '69853011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852999&x=451',
		'title': '',
		'imageId': '69852999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852997&x=451',
		'title': '',
		'imageId': '69852997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852995&x=451',
		'title': '',
		'imageId': '69852995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852993&x=451',
		'title': '',
		'imageId': '69852993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852991&x=451',
		'title': '',
		'imageId': '69852991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853002&x=451',
		'title': '',
		'imageId': '69853002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853006&x=451',
		'title': '',
		'imageId': '69853006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852996&x=451',
		'title': '',
		'imageId': '69852996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853003&x=451',
		'title': '',
		'imageId': '69853003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852998&x=451',
		'title': '',
		'imageId': '69852998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852989&x=451',
		'title': '',
		'imageId': '69852989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853000&x=451',
		'title': '',
		'imageId': '69853000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853001&x=451',
		'title': '',
		'imageId': '69853001',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852990&x=451',
		'title': '',
		'imageId': '69852990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853007&x=451',
		'title': '',
		'imageId': '69853007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853010&x=451',
		'title': '',
		'imageId': '69853010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853004&x=451',
		'title': '',
		'imageId': '69853004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853005&x=451',
		'title': '',
		'imageId': '69853005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69853009&x=451',
		'title': '',
		'imageId': '69853009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852994&x=451',
		'title': '',
		'imageId': '69852994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005705&docid=69852992&x=451',
		'title': '',
		'imageId': '69852992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005705';

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