var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789976&x=4335',
		'title': '',
		'imageId': '69789976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789981&x=4335',
		'title': '',
		'imageId': '69789981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789982&x=4335',
		'title': '',
		'imageId': '69789982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789987&x=4335',
		'title': '',
		'imageId': '69789987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789955&x=4335',
		'title': '',
		'imageId': '69789955',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789942&x=4335',
		'title': '',
		'imageId': '69789942',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789966&x=4335',
		'title': '',
		'imageId': '69789966',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789940&x=4335',
		'title': '',
		'imageId': '69789940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789950&x=4335',
		'title': '',
		'imageId': '69789950',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789964&x=4335',
		'title': '',
		'imageId': '69789964',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789968&x=4335',
		'title': '',
		'imageId': '69789968',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789947&x=4335',
		'title': '',
		'imageId': '69789947',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789958&x=4335',
		'title': '',
		'imageId': '69789958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789924&x=4335',
		'title': '',
		'imageId': '69789924',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789925&x=4335',
		'title': '',
		'imageId': '69789925',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789926&x=4335',
		'title': '',
		'imageId': '69789926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789929&x=4335',
		'title': '',
		'imageId': '69789929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789927&x=4335',
		'title': '',
		'imageId': '69789927',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789928&x=4335',
		'title': '',
		'imageId': '69789928',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789946&x=4335',
		'title': '',
		'imageId': '69789946',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789959&x=4335',
		'title': '',
		'imageId': '69789959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789973&x=4335',
		'title': '',
		'imageId': '69789973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789988&x=4335',
		'title': '',
		'imageId': '69789988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003208&docid=69789993&x=4335',
		'title': '',
		'imageId': '69789993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003208';

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