var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222950&x=401',
		'title': '',
		'imageId': '68222950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222951&x=401',
		'title': '',
		'imageId': '68222951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222952&x=401',
		'title': '',
		'imageId': '68222952',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222953&x=401',
		'title': '',
		'imageId': '68222953',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222954&x=401',
		'title': '',
		'imageId': '68222954',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222955&x=401',
		'title': '',
		'imageId': '68222955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222956&x=401',
		'title': '',
		'imageId': '68222956',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222957&x=401',
		'title': '',
		'imageId': '68222957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222958&x=401',
		'title': '',
		'imageId': '68222958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222959&x=401',
		'title': '',
		'imageId': '68222959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222960&x=401',
		'title': '',
		'imageId': '68222960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971903&docid=68222961&x=401',
		'title': '',
		'imageId': '68222961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971903';

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