var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900006&x=4047',
		'title': '',
		'imageId': '68900006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900007&x=4047',
		'title': '',
		'imageId': '68900007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900008&x=4047',
		'title': '',
		'imageId': '68900008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900009&x=4047',
		'title': '',
		'imageId': '68900009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900010&x=4047',
		'title': '',
		'imageId': '68900010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900011&x=4047',
		'title': '',
		'imageId': '68900011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900012&x=4047',
		'title': '',
		'imageId': '68900012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900013&x=4047',
		'title': '',
		'imageId': '68900013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900014&x=4047',
		'title': '',
		'imageId': '68900014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900015&x=4047',
		'title': '',
		'imageId': '68900015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900016&x=4047',
		'title': '',
		'imageId': '68900016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900017&x=4047',
		'title': '',
		'imageId': '68900017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900018&x=4047',
		'title': '',
		'imageId': '68900018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900019&x=4047',
		'title': '',
		'imageId': '68900019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900020&x=4047',
		'title': '',
		'imageId': '68900020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900021&x=4047',
		'title': '',
		'imageId': '68900021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900022&x=4047',
		'title': '',
		'imageId': '68900022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900023&x=4047',
		'title': '',
		'imageId': '68900023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900024&x=4047',
		'title': '',
		'imageId': '68900024',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900025&x=4047',
		'title': '',
		'imageId': '68900025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900026&x=4047',
		'title': '',
		'imageId': '68900026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900027&x=4047',
		'title': '',
		'imageId': '68900027',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3963879&docid=68900028&x=4047',
		'title': '',
		'imageId': '68900028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3963879';

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