var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728635&x=1141',
		'title': '',
		'imageId': '68728635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728624&x=1141',
		'title': '',
		'imageId': '68728624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728639&x=1141',
		'title': '',
		'imageId': '68728639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728625&x=1141',
		'title': '',
		'imageId': '68728625',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728638&x=1141',
		'title': '',
		'imageId': '68728638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728637&x=1141',
		'title': '',
		'imageId': '68728637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728634&x=1141',
		'title': '',
		'imageId': '68728634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728644&x=1141',
		'title': '',
		'imageId': '68728644',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728632&x=1141',
		'title': '',
		'imageId': '68728632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728626&x=1141',
		'title': '',
		'imageId': '68728626',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728646&x=1141',
		'title': '',
		'imageId': '68728646',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728630&x=1141',
		'title': '',
		'imageId': '68728630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728643&x=1141',
		'title': '',
		'imageId': '68728643',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728628&x=1141',
		'title': '',
		'imageId': '68728628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728629&x=1141',
		'title': '',
		'imageId': '68728629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728640&x=1141',
		'title': '',
		'imageId': '68728640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728642&x=1141',
		'title': '',
		'imageId': '68728642',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728633&x=1141',
		'title': '',
		'imageId': '68728633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728641&x=1141',
		'title': '',
		'imageId': '68728641',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728627&x=1141',
		'title': '',
		'imageId': '68728627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728647&x=1141',
		'title': '',
		'imageId': '68728647',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728631&x=1141',
		'title': '',
		'imageId': '68728631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728645&x=1141',
		'title': '',
		'imageId': '68728645',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3955982&docid=68728636&x=1141',
		'title': '',
		'imageId': '68728636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3955982';

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