var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963160&x=4119',
		'title': '',
		'imageId': '68963160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963161&x=4119',
		'title': '',
		'imageId': '68963161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963148&x=4119',
		'title': '',
		'imageId': '68963148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963155&x=4119',
		'title': '',
		'imageId': '68963155',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963159&x=4119',
		'title': '',
		'imageId': '68963159',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963154&x=4119',
		'title': '',
		'imageId': '68963154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963157&x=4119',
		'title': '',
		'imageId': '68963157',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963150&x=4119',
		'title': '',
		'imageId': '68963150',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963153&x=4119',
		'title': '',
		'imageId': '68963153',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963163&x=4119',
		'title': '',
		'imageId': '68963163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963164&x=4119',
		'title': '',
		'imageId': '68963164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963151&x=4119',
		'title': '',
		'imageId': '68963151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963156&x=4119',
		'title': '',
		'imageId': '68963156',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963158&x=4119',
		'title': '',
		'imageId': '68963158',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963162&x=4119',
		'title': '',
		'imageId': '68963162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963165&x=4119',
		'title': '',
		'imageId': '68963165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963147&x=4119',
		'title': '',
		'imageId': '68963147',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963149&x=4119',
		'title': '',
		'imageId': '68963149',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3966559&docid=68963152&x=4119',
		'title': '',
		'imageId': '68963152',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3966559';

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