var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141085&x=5834',
		'title': '',
		'imageId': '70141085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141102&x=5834',
		'title': '',
		'imageId': '70141102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141075&x=5834',
		'title': '',
		'imageId': '70141075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141078&x=5834',
		'title': '',
		'imageId': '70141078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141099&x=5834',
		'title': '',
		'imageId': '70141099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141074&x=5834',
		'title': '',
		'imageId': '70141074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141105&x=5834',
		'title': '',
		'imageId': '70141105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141104&x=5834',
		'title': '',
		'imageId': '70141104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141061&x=5834',
		'title': '',
		'imageId': '70141061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141059&x=5834',
		'title': '',
		'imageId': '70141059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141062&x=5834',
		'title': '',
		'imageId': '70141062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141068&x=5834',
		'title': '',
		'imageId': '70141068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141098&x=5834',
		'title': '',
		'imageId': '70141098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141069&x=5834',
		'title': '',
		'imageId': '70141069',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141096&x=5834',
		'title': '',
		'imageId': '70141096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141065&x=5834',
		'title': '',
		'imageId': '70141065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141076&x=5834',
		'title': '',
		'imageId': '70141076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141094&x=5834',
		'title': '',
		'imageId': '70141094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141090&x=5834',
		'title': '',
		'imageId': '70141090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141081&x=5834',
		'title': '',
		'imageId': '70141081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141091&x=5834',
		'title': '',
		'imageId': '70141091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141079&x=5834',
		'title': '',
		'imageId': '70141079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141084&x=5834',
		'title': '',
		'imageId': '70141084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141083&x=5834',
		'title': '',
		'imageId': '70141083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141092&x=5834',
		'title': '',
		'imageId': '70141092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141086&x=5834',
		'title': '',
		'imageId': '70141086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141095&x=5834',
		'title': '',
		'imageId': '70141095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141093&x=5834',
		'title': '',
		'imageId': '70141093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141089&x=5834',
		'title': '',
		'imageId': '70141089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141087&x=5834',
		'title': '',
		'imageId': '70141087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141088&x=5834',
		'title': '',
		'imageId': '70141088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141073&x=5834',
		'title': '',
		'imageId': '70141073',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141097&x=5834',
		'title': '',
		'imageId': '70141097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141082&x=5834',
		'title': '',
		'imageId': '70141082',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141064&x=5834',
		'title': '',
		'imageId': '70141064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141071&x=5834',
		'title': '',
		'imageId': '70141071',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141060&x=5834',
		'title': '',
		'imageId': '70141060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141103&x=5834',
		'title': '',
		'imageId': '70141103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141066&x=5834',
		'title': '',
		'imageId': '70141066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141067&x=5834',
		'title': '',
		'imageId': '70141067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141100&x=5834',
		'title': '',
		'imageId': '70141100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141058&x=5834',
		'title': '',
		'imageId': '70141058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141063&x=5834',
		'title': '',
		'imageId': '70141063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141101&x=5834',
		'title': '',
		'imageId': '70141101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141077&x=5834',
		'title': '',
		'imageId': '70141077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141057&x=5834',
		'title': '',
		'imageId': '70141057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141070&x=5834',
		'title': '',
		'imageId': '70141070',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141072&x=5834',
		'title': '',
		'imageId': '70141072',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=70141080&x=5834',
		'title': '',
		'imageId': '70141080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=59270515&x=5834',
		'title': '',
		'imageId': '59270515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016319&docid=59270516&x=5834',
		'title': '',
		'imageId': '59270516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016319';

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