var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666020&x=1127',
		'title': '',
		'imageId': '69666020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666021&x=1127',
		'title': '',
		'imageId': '69666021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666022&x=1127',
		'title': '',
		'imageId': '69666022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666028&x=1127',
		'title': '',
		'imageId': '69666028',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666023&x=1127',
		'title': '',
		'imageId': '69666023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666035&x=1127',
		'title': '',
		'imageId': '69666035',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69666039&x=1127',
		'title': '',
		'imageId': '69666039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69675454&x=1127',
		'title': '',
		'imageId': '69675454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69675455&x=1127',
		'title': '',
		'imageId': '69675455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69675460&x=1127',
		'title': '',
		'imageId': '69675460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69675461&x=1127',
		'title': '',
		'imageId': '69675461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998423&docid=69675462&x=1127',
		'title': '',
		'imageId': '69675462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998423';

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