var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349076&x=4842',
		'title': '',
		'imageId': '69349076',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349077&x=4842',
		'title': '',
		'imageId': '69349077',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349079&x=4842',
		'title': '',
		'imageId': '69349079',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349080&x=4842',
		'title': '',
		'imageId': '69349080',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349083&x=4842',
		'title': '',
		'imageId': '69349083',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349084&x=4842',
		'title': '',
		'imageId': '69349084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349085&x=4842',
		'title': '',
		'imageId': '69349085',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349086&x=4842',
		'title': '',
		'imageId': '69349086',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349087&x=4842',
		'title': '',
		'imageId': '69349087',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349088&x=4842',
		'title': '',
		'imageId': '69349088',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349089&x=4842',
		'title': '',
		'imageId': '69349089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349090&x=4842',
		'title': '',
		'imageId': '69349090',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349091&x=4842',
		'title': '',
		'imageId': '69349091',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349092&x=4842',
		'title': '',
		'imageId': '69349092',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349093&x=4842',
		'title': '',
		'imageId': '69349093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349094&x=4842',
		'title': '',
		'imageId': '69349094',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349095&x=4842',
		'title': '',
		'imageId': '69349095',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349096&x=4842',
		'title': '',
		'imageId': '69349096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349097&x=4842',
		'title': '',
		'imageId': '69349097',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349098&x=4842',
		'title': '',
		'imageId': '69349098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349099&x=4842',
		'title': '',
		'imageId': '69349099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3983944&docid=69349100&x=4842',
		'title': '',
		'imageId': '69349100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3983944';

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