var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193944&x=91',
		'title': '',
		'imageId': '69193944',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193945&x=91',
		'title': '',
		'imageId': '69193945',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193946&x=91',
		'title': '',
		'imageId': '69193946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193947&x=91',
		'title': '',
		'imageId': '69193947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193951&x=91',
		'title': '',
		'imageId': '69193951',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193957&x=91',
		'title': '',
		'imageId': '69193957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193958&x=91',
		'title': '',
		'imageId': '69193958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193959&x=91',
		'title': '',
		'imageId': '69193959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193962&x=91',
		'title': '',
		'imageId': '69193962',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193943&x=91',
		'title': '',
		'imageId': '69193943',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3977110&docid=69193942&x=91',
		'title': '',
		'imageId': '69193942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3977110';

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