var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285696&x=586',
		'title': '',
		'imageId': '67285696',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285701&x=586',
		'title': '',
		'imageId': '67285701',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285694&x=586',
		'title': '',
		'imageId': '67285694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285700&x=586',
		'title': '',
		'imageId': '67285700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285703&x=586',
		'title': '',
		'imageId': '67285703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285705&x=586',
		'title': '',
		'imageId': '67285705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285699&x=586',
		'title': '',
		'imageId': '67285699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285690&x=586',
		'title': '',
		'imageId': '67285690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285693&x=586',
		'title': '',
		'imageId': '67285693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285702&x=586',
		'title': '',
		'imageId': '67285702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285698&x=586',
		'title': '',
		'imageId': '67285698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285695&x=586',
		'title': '',
		'imageId': '67285695',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285704&x=586',
		'title': '',
		'imageId': '67285704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285697&x=586',
		'title': '',
		'imageId': '67285697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285692&x=586',
		'title': '',
		'imageId': '67285692',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3923414&docid=67285691&x=586',
		'title': '',
		'imageId': '67285691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3923414';

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