var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880762&x=5032',
		'title': '',
		'imageId': '67880762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880760&x=5032',
		'title': '',
		'imageId': '67880760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880748&x=5032',
		'title': '',
		'imageId': '67880748',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880757&x=5032',
		'title': '',
		'imageId': '67880757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880750&x=5032',
		'title': '',
		'imageId': '67880750',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880759&x=5032',
		'title': '',
		'imageId': '67880759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880753&x=5032',
		'title': '',
		'imageId': '67880753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880761&x=5032',
		'title': '',
		'imageId': '67880761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880752&x=5032',
		'title': '',
		'imageId': '67880752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880755&x=5032',
		'title': '',
		'imageId': '67880755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880754&x=5032',
		'title': '',
		'imageId': '67880754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880756&x=5032',
		'title': '',
		'imageId': '67880756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880751&x=5032',
		'title': '',
		'imageId': '67880751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880749&x=5032',
		'title': '',
		'imageId': '67880749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880758&x=5032',
		'title': '',
		'imageId': '67880758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=67880763&x=5032',
		'title': '',
		'imageId': '67880763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=68388960&x=5032',
		'title': '',
		'imageId': '68388960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=68388962&x=5032',
		'title': '',
		'imageId': '68388962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3968779&docid=68388961&x=5032',
		'title': '',
		'imageId': '68388961',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3968779';

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