var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435948&x=5117',
		'title': '',
		'imageId': '68435948',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435922&x=5117',
		'title': '',
		'imageId': '68435922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435935&x=5117',
		'title': '',
		'imageId': '68435935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435936&x=5117',
		'title': '',
		'imageId': '68435936',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435956&x=5117',
		'title': '',
		'imageId': '68435956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435920&x=5117',
		'title': '',
		'imageId': '68435920',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435919&x=5117',
		'title': '',
		'imageId': '68435919',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435944&x=5117',
		'title': '',
		'imageId': '68435944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435924&x=5117',
		'title': '',
		'imageId': '68435924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435938&x=5117',
		'title': '',
		'imageId': '68435938',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435927&x=5117',
		'title': '',
		'imageId': '68435927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435953&x=5117',
		'title': '',
		'imageId': '68435953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435914&x=5117',
		'title': '',
		'imageId': '68435914',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435929&x=5117',
		'title': '',
		'imageId': '68435929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435926&x=5117',
		'title': '',
		'imageId': '68435926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435932&x=5117',
		'title': '',
		'imageId': '68435932',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435931&x=5117',
		'title': '',
		'imageId': '68435931',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435933&x=5117',
		'title': '',
		'imageId': '68435933',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435939&x=5117',
		'title': '',
		'imageId': '68435939',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435934&x=5117',
		'title': '',
		'imageId': '68435934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435937&x=5117',
		'title': '',
		'imageId': '68435937',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435928&x=5117',
		'title': '',
		'imageId': '68435928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435954&x=5117',
		'title': '',
		'imageId': '68435954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435952&x=5117',
		'title': '',
		'imageId': '68435952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435940&x=5117',
		'title': '',
		'imageId': '68435940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435923&x=5117',
		'title': '',
		'imageId': '68435923',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435947&x=5117',
		'title': '',
		'imageId': '68435947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435949&x=5117',
		'title': '',
		'imageId': '68435949',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435951&x=5117',
		'title': '',
		'imageId': '68435951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435946&x=5117',
		'title': '',
		'imageId': '68435946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435941&x=5117',
		'title': '',
		'imageId': '68435941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435945&x=5117',
		'title': '',
		'imageId': '68435945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435943&x=5117',
		'title': '',
		'imageId': '68435943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435950&x=5117',
		'title': '',
		'imageId': '68435950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3943812&docid=68435917&x=5117',
		'title': '',
		'imageId': '68435917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3943812';

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