var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019199&x=2149',
		'title': '',
		'imageId': '69019199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019205&x=2149',
		'title': '',
		'imageId': '69019205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019203&x=2149',
		'title': '',
		'imageId': '69019203',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019202&x=2149',
		'title': '',
		'imageId': '69019202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019208&x=2149',
		'title': '',
		'imageId': '69019208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019207&x=2149',
		'title': '',
		'imageId': '69019207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019206&x=2149',
		'title': '',
		'imageId': '69019206',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019201&x=2149',
		'title': '',
		'imageId': '69019201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019209&x=2149',
		'title': '',
		'imageId': '69019209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019200&x=2149',
		'title': '',
		'imageId': '69019200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019204&x=2149',
		'title': '',
		'imageId': '69019204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969998&docid=69019198&x=2149',
		'title': '',
		'imageId': '69019198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969998';

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