var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756049&x=2226',
		'title': '',
		'imageId': '61756049',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756051&x=2226',
		'title': '',
		'imageId': '61756051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756052&x=2226',
		'title': '',
		'imageId': '61756052',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756053&x=2226',
		'title': '',
		'imageId': '61756053',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756054&x=2226',
		'title': '',
		'imageId': '61756054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756055&x=2226',
		'title': '',
		'imageId': '61756055',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756056&x=2226',
		'title': '',
		'imageId': '61756056',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756057&x=2226',
		'title': '',
		'imageId': '61756057',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756058&x=2226',
		'title': '',
		'imageId': '61756058',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756059&x=2226',
		'title': '',
		'imageId': '61756059',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756060&x=2226',
		'title': '',
		'imageId': '61756060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756061&x=2226',
		'title': '',
		'imageId': '61756061',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756062&x=2226',
		'title': '',
		'imageId': '61756062',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756063&x=2226',
		'title': '',
		'imageId': '61756063',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756064&x=2226',
		'title': '',
		'imageId': '61756064',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756065&x=2226',
		'title': '',
		'imageId': '61756065',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756066&x=2226',
		'title': '',
		'imageId': '61756066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756067&x=2226',
		'title': '',
		'imageId': '61756067',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756068&x=2226',
		'title': '',
		'imageId': '61756068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3672363&docid=61756048&x=2226',
		'title': '',
		'imageId': '61756048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3672363';

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