var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899682&x=3241',
		'title': '',
		'imageId': '67899682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899683&x=3241',
		'title': '',
		'imageId': '67899683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899684&x=3241',
		'title': '',
		'imageId': '67899684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899685&x=3241',
		'title': '',
		'imageId': '67899685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899686&x=3241',
		'title': '',
		'imageId': '67899686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899687&x=3241',
		'title': '',
		'imageId': '67899687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899688&x=3241',
		'title': '',
		'imageId': '67899688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899689&x=3241',
		'title': '',
		'imageId': '67899689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899690&x=3241',
		'title': '',
		'imageId': '67899690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899691&x=3241',
		'title': '',
		'imageId': '67899691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899692&x=3241',
		'title': '',
		'imageId': '67899692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899693&x=3241',
		'title': '',
		'imageId': '67899693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899694&x=3241',
		'title': '',
		'imageId': '67899694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899695&x=3241',
		'title': '',
		'imageId': '67899695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899696&x=3241',
		'title': '',
		'imageId': '67899696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899697&x=3241',
		'title': '',
		'imageId': '67899697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899698&x=3241',
		'title': '',
		'imageId': '67899698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899699&x=3241',
		'title': '',
		'imageId': '67899699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3919928&docid=67899700&x=3241',
		'title': '',
		'imageId': '67899700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3919928';

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