var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68480500&x=2242',
		'title': '',
		'imageId': '68480500',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860947&x=2242',
		'title': '',
		'imageId': '68860947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860938&x=2242',
		'title': '',
		'imageId': '68860938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860942&x=2242',
		'title': '',
		'imageId': '68860942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860940&x=2242',
		'title': '',
		'imageId': '68860940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860939&x=2242',
		'title': '',
		'imageId': '68860939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860943&x=2242',
		'title': '',
		'imageId': '68860943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860941&x=2242',
		'title': '',
		'imageId': '68860941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860945&x=2242',
		'title': '',
		'imageId': '68860945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860944&x=2242',
		'title': '',
		'imageId': '68860944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860948&x=2242',
		'title': '',
		'imageId': '68860948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860946&x=2242',
		'title': '',
		'imageId': '68860946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860949&x=2242',
		'title': '',
		'imageId': '68860949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860957&x=2242',
		'title': '',
		'imageId': '68860957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860950&x=2242',
		'title': '',
		'imageId': '68860950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860951&x=2242',
		'title': '',
		'imageId': '68860951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860954&x=2242',
		'title': '',
		'imageId': '68860954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860953&x=2242',
		'title': '',
		'imageId': '68860953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860952&x=2242',
		'title': '',
		'imageId': '68860952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860955&x=2242',
		'title': '',
		'imageId': '68860955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860958&x=2242',
		'title': '',
		'imageId': '68860958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860960&x=2242',
		'title': '',
		'imageId': '68860960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860959&x=2242',
		'title': '',
		'imageId': '68860959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3945682&docid=68860956&x=2242',
		'title': '',
		'imageId': '68860956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3945682';

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