var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746064&x=5424',
		'title': '',
		'imageId': '66746064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746067&x=5424',
		'title': '',
		'imageId': '66746067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746068&x=5424',
		'title': '',
		'imageId': '66746068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746070&x=5424',
		'title': '',
		'imageId': '66746070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746071&x=5424',
		'title': '',
		'imageId': '66746071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746072&x=5424',
		'title': '',
		'imageId': '66746072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746073&x=5424',
		'title': '',
		'imageId': '66746073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746074&x=5424',
		'title': '',
		'imageId': '66746074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746075&x=5424',
		'title': '',
		'imageId': '66746075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746076&x=5424',
		'title': '',
		'imageId': '66746076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746077&x=5424',
		'title': '',
		'imageId': '66746077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746078&x=5424',
		'title': '',
		'imageId': '66746078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746079&x=5424',
		'title': '',
		'imageId': '66746079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746080&x=5424',
		'title': '',
		'imageId': '66746080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746081&x=5424',
		'title': '',
		'imageId': '66746081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746082&x=5424',
		'title': '',
		'imageId': '66746082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746083&x=5424',
		'title': '',
		'imageId': '66746083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746084&x=5424',
		'title': '',
		'imageId': '66746084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746085&x=5424',
		'title': '',
		'imageId': '66746085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746086&x=5424',
		'title': '',
		'imageId': '66746086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746087&x=5424',
		'title': '',
		'imageId': '66746087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746088&x=5424',
		'title': '',
		'imageId': '66746088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746089&x=5424',
		'title': '',
		'imageId': '66746089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746091&x=5424',
		'title': '',
		'imageId': '66746091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746092&x=5424',
		'title': '',
		'imageId': '66746092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746093&x=5424',
		'title': '',
		'imageId': '66746093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746094&x=5424',
		'title': '',
		'imageId': '66746094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746095&x=5424',
		'title': '',
		'imageId': '66746095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746096&x=5424',
		'title': '',
		'imageId': '66746096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746097&x=5424',
		'title': '',
		'imageId': '66746097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746098&x=5424',
		'title': '',
		'imageId': '66746098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746099&x=5424',
		'title': '',
		'imageId': '66746099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746100&x=5424',
		'title': '',
		'imageId': '66746100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746101&x=5424',
		'title': '',
		'imageId': '66746101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746102&x=5424',
		'title': '',
		'imageId': '66746102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746103&x=5424',
		'title': '',
		'imageId': '66746103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746104&x=5424',
		'title': '',
		'imageId': '66746104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746105&x=5424',
		'title': '',
		'imageId': '66746105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746106&x=5424',
		'title': '',
		'imageId': '66746106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746107&x=5424',
		'title': '',
		'imageId': '66746107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3874345&docid=66746108&x=5424',
		'title': '',
		'imageId': '66746108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3874345';

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