var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026161&x=5753',
		'title': '',
		'imageId': '68026161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026162&x=5753',
		'title': '',
		'imageId': '68026162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026163&x=5753',
		'title': '',
		'imageId': '68026163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026164&x=5753',
		'title': '',
		'imageId': '68026164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026165&x=5753',
		'title': '',
		'imageId': '68026165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026166&x=5753',
		'title': '',
		'imageId': '68026166',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026167&x=5753',
		'title': '',
		'imageId': '68026167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026168&x=5753',
		'title': '',
		'imageId': '68026168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026169&x=5753',
		'title': '',
		'imageId': '68026169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026170&x=5753',
		'title': '',
		'imageId': '68026170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026171&x=5753',
		'title': '',
		'imageId': '68026171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026172&x=5753',
		'title': '',
		'imageId': '68026172',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026173&x=5753',
		'title': '',
		'imageId': '68026173',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026174&x=5753',
		'title': '',
		'imageId': '68026174',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026175&x=5753',
		'title': '',
		'imageId': '68026175',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026176&x=5753',
		'title': '',
		'imageId': '68026176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026177&x=5753',
		'title': '',
		'imageId': '68026177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026178&x=5753',
		'title': '',
		'imageId': '68026178',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026179&x=5753',
		'title': '',
		'imageId': '68026179',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026180&x=5753',
		'title': '',
		'imageId': '68026180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026181&x=5753',
		'title': '',
		'imageId': '68026181',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3951657&docid=68026182&x=5753',
		'title': '',
		'imageId': '68026182',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3951657';

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