var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103084&x=3824',
		'title': '',
		'imageId': '70103084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103111&x=3824',
		'title': '',
		'imageId': '70103111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103101&x=3824',
		'title': '',
		'imageId': '70103101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103091&x=3824',
		'title': '',
		'imageId': '70103091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103107&x=3824',
		'title': '',
		'imageId': '70103107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103090&x=3824',
		'title': '',
		'imageId': '70103090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103100&x=3824',
		'title': '',
		'imageId': '70103100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103078&x=3824',
		'title': '',
		'imageId': '70103078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103080&x=3824',
		'title': '',
		'imageId': '70103080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103085&x=3824',
		'title': '',
		'imageId': '70103085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103082&x=3824',
		'title': '',
		'imageId': '70103082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103068&x=3824',
		'title': '',
		'imageId': '70103068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103110&x=3824',
		'title': '',
		'imageId': '70103110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103073&x=3824',
		'title': '',
		'imageId': '70103073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103109&x=3824',
		'title': '',
		'imageId': '70103109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103067&x=3824',
		'title': '',
		'imageId': '70103067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103066&x=3824',
		'title': '',
		'imageId': '70103066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103106&x=3824',
		'title': '',
		'imageId': '70103106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103108&x=3824',
		'title': '',
		'imageId': '70103108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103077&x=3824',
		'title': '',
		'imageId': '70103077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103072&x=3824',
		'title': '',
		'imageId': '70103072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103069&x=3824',
		'title': '',
		'imageId': '70103069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103074&x=3824',
		'title': '',
		'imageId': '70103074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103081&x=3824',
		'title': '',
		'imageId': '70103081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103070&x=3824',
		'title': '',
		'imageId': '70103070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103083&x=3824',
		'title': '',
		'imageId': '70103083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103086&x=3824',
		'title': '',
		'imageId': '70103086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103075&x=3824',
		'title': '',
		'imageId': '70103075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103071&x=3824',
		'title': '',
		'imageId': '70103071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103092&x=3824',
		'title': '',
		'imageId': '70103092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103093&x=3824',
		'title': '',
		'imageId': '70103093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103076&x=3824',
		'title': '',
		'imageId': '70103076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103079&x=3824',
		'title': '',
		'imageId': '70103079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103105&x=3824',
		'title': '',
		'imageId': '70103105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103088&x=3824',
		'title': '',
		'imageId': '70103088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103095&x=3824',
		'title': '',
		'imageId': '70103095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103094&x=3824',
		'title': '',
		'imageId': '70103094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103104&x=3824',
		'title': '',
		'imageId': '70103104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103102&x=3824',
		'title': '',
		'imageId': '70103102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103096&x=3824',
		'title': '',
		'imageId': '70103096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103087&x=3824',
		'title': '',
		'imageId': '70103087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103103&x=3824',
		'title': '',
		'imageId': '70103103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103089&x=3824',
		'title': '',
		'imageId': '70103089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103098&x=3824',
		'title': '',
		'imageId': '70103098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103097&x=3824',
		'title': '',
		'imageId': '70103097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=70103099&x=3824',
		'title': '',
		'imageId': '70103099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=59271014&x=3824',
		'title': '',
		'imageId': '59271014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4012298&docid=59271013&x=3824',
		'title': '',
		'imageId': '59271013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4012298';

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