var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901017&x=5751',
		'title': '',
		'imageId': '69901017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901028&x=5751',
		'title': '',
		'imageId': '69901028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901030&x=5751',
		'title': '',
		'imageId': '69901030',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901037&x=5751',
		'title': '',
		'imageId': '69901037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901009&x=5751',
		'title': '',
		'imageId': '69901009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901012&x=5751',
		'title': '',
		'imageId': '69901012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901027&x=5751',
		'title': '',
		'imageId': '69901027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901026&x=5751',
		'title': '',
		'imageId': '69901026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901024&x=5751',
		'title': '',
		'imageId': '69901024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901033&x=5751',
		'title': '',
		'imageId': '69901033',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901040&x=5751',
		'title': '',
		'imageId': '69901040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901013&x=5751',
		'title': '',
		'imageId': '69901013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901019&x=5751',
		'title': '',
		'imageId': '69901019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901022&x=5751',
		'title': '',
		'imageId': '69901022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901038&x=5751',
		'title': '',
		'imageId': '69901038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901016&x=5751',
		'title': '',
		'imageId': '69901016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901015&x=5751',
		'title': '',
		'imageId': '69901015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901010&x=5751',
		'title': '',
		'imageId': '69901010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901031&x=5751',
		'title': '',
		'imageId': '69901031',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901018&x=5751',
		'title': '',
		'imageId': '69901018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901035&x=5751',
		'title': '',
		'imageId': '69901035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901020&x=5751',
		'title': '',
		'imageId': '69901020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901025&x=5751',
		'title': '',
		'imageId': '69901025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901021&x=5751',
		'title': '',
		'imageId': '69901021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901034&x=5751',
		'title': '',
		'imageId': '69901034',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901032&x=5751',
		'title': '',
		'imageId': '69901032',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901039&x=5751',
		'title': '',
		'imageId': '69901039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901036&x=5751',
		'title': '',
		'imageId': '69901036',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901014&x=5751',
		'title': '',
		'imageId': '69901014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901011&x=5751',
		'title': '',
		'imageId': '69901011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901023&x=5751',
		'title': '',
		'imageId': '69901023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4007284&docid=69901029&x=5751',
		'title': '',
		'imageId': '69901029',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4007284';

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