var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529958&x=5249',
		'title': '',
		'imageId': '68529958',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529955&x=5249',
		'title': '',
		'imageId': '68529955',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529960&x=5249',
		'title': '',
		'imageId': '68529960',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529962&x=5249',
		'title': '',
		'imageId': '68529962',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529959&x=5249',
		'title': '',
		'imageId': '68529959',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529957&x=5249',
		'title': '',
		'imageId': '68529957',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529968&x=5249',
		'title': '',
		'imageId': '68529968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529970&x=5249',
		'title': '',
		'imageId': '68529970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529961&x=5249',
		'title': '',
		'imageId': '68529961',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529963&x=5249',
		'title': '',
		'imageId': '68529963',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529965&x=5249',
		'title': '',
		'imageId': '68529965',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529971&x=5249',
		'title': '',
		'imageId': '68529971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529972&x=5249',
		'title': '',
		'imageId': '68529972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529969&x=5249',
		'title': '',
		'imageId': '68529969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529967&x=5249',
		'title': '',
		'imageId': '68529967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529964&x=5249',
		'title': '',
		'imageId': '68529964',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529956&x=5249',
		'title': '',
		'imageId': '68529956',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529973&x=5249',
		'title': '',
		'imageId': '68529973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68529966&x=5249',
		'title': '',
		'imageId': '68529966',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947688&docid=68530050&x=5249',
		'title': '',
		'imageId': '68530050',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947688';

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