var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596251&x=4230',
		'title': '',
		'imageId': '68596251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596252&x=4230',
		'title': '',
		'imageId': '68596252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596258&x=4230',
		'title': '',
		'imageId': '68596258',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596256&x=4230',
		'title': '',
		'imageId': '68596256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596266&x=4230',
		'title': '',
		'imageId': '68596266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596261&x=4230',
		'title': '',
		'imageId': '68596261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596268&x=4230',
		'title': '',
		'imageId': '68596268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596270&x=4230',
		'title': '',
		'imageId': '68596270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596273&x=4230',
		'title': '',
		'imageId': '68596273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596254&x=4230',
		'title': '',
		'imageId': '68596254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596267&x=4230',
		'title': '',
		'imageId': '68596267',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596265&x=4230',
		'title': '',
		'imageId': '68596265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596259&x=4230',
		'title': '',
		'imageId': '68596259',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596278&x=4230',
		'title': '',
		'imageId': '68596278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596269&x=4230',
		'title': '',
		'imageId': '68596269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596263&x=4230',
		'title': '',
		'imageId': '68596263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596271&x=4230',
		'title': '',
		'imageId': '68596271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596276&x=4230',
		'title': '',
		'imageId': '68596276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596257&x=4230',
		'title': '',
		'imageId': '68596257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596275&x=4230',
		'title': '',
		'imageId': '68596275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596262&x=4230',
		'title': '',
		'imageId': '68596262',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596253&x=4230',
		'title': '',
		'imageId': '68596253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596279&x=4230',
		'title': '',
		'imageId': '68596279',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596255&x=4230',
		'title': '',
		'imageId': '68596255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596274&x=4230',
		'title': '',
		'imageId': '68596274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596282&x=4230',
		'title': '',
		'imageId': '68596282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596281&x=4230',
		'title': '',
		'imageId': '68596281',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596283&x=4230',
		'title': '',
		'imageId': '68596283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596264&x=4230',
		'title': '',
		'imageId': '68596264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596272&x=4230',
		'title': '',
		'imageId': '68596272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596260&x=4230',
		'title': '',
		'imageId': '68596260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596277&x=4230',
		'title': '',
		'imageId': '68596277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3950476&docid=68596280&x=4230',
		'title': '',
		'imageId': '68596280',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3950476';

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