var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675137&x=1128',
		'title': '',
		'imageId': '69675137',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675110&x=1128',
		'title': '',
		'imageId': '69675110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675111&x=1128',
		'title': '',
		'imageId': '69675111',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675112&x=1128',
		'title': '',
		'imageId': '69675112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675115&x=1128',
		'title': '',
		'imageId': '69675115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675118&x=1128',
		'title': '',
		'imageId': '69675118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675123&x=1128',
		'title': '',
		'imageId': '69675123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675124&x=1128',
		'title': '',
		'imageId': '69675124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675138&x=1128',
		'title': '',
		'imageId': '69675138',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675139&x=1128',
		'title': '',
		'imageId': '69675139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998778&docid=69675140&x=1128',
		'title': '',
		'imageId': '69675140',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998778';

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