var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337318&x=3351',
		'title': '',
		'imageId': '68337318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337309&x=3351',
		'title': '',
		'imageId': '68337309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337295&x=3351',
		'title': '',
		'imageId': '68337295',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337306&x=3351',
		'title': '',
		'imageId': '68337306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337307&x=3351',
		'title': '',
		'imageId': '68337307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337310&x=3351',
		'title': '',
		'imageId': '68337310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337296&x=3351',
		'title': '',
		'imageId': '68337296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337300&x=3351',
		'title': '',
		'imageId': '68337300',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337293&x=3351',
		'title': '',
		'imageId': '68337293',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337303&x=3351',
		'title': '',
		'imageId': '68337303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337316&x=3351',
		'title': '',
		'imageId': '68337316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337317&x=3351',
		'title': '',
		'imageId': '68337317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337297&x=3351',
		'title': '',
		'imageId': '68337297',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337304&x=3351',
		'title': '',
		'imageId': '68337304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337313&x=3351',
		'title': '',
		'imageId': '68337313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337298&x=3351',
		'title': '',
		'imageId': '68337298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337311&x=3351',
		'title': '',
		'imageId': '68337311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337294&x=3351',
		'title': '',
		'imageId': '68337294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337305&x=3351',
		'title': '',
		'imageId': '68337305',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337302&x=3351',
		'title': '',
		'imageId': '68337302',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337299&x=3351',
		'title': '',
		'imageId': '68337299',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337312&x=3351',
		'title': '',
		'imageId': '68337312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938695&docid=68337315&x=3351',
		'title': '',
		'imageId': '68337315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938695';

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