var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900682&x=1439',
		'title': '',
		'imageId': '66900682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900678&x=1439',
		'title': '',
		'imageId': '66900678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900664&x=1439',
		'title': '',
		'imageId': '66900664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900680&x=1439',
		'title': '',
		'imageId': '66900680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900679&x=1439',
		'title': '',
		'imageId': '66900679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900669&x=1439',
		'title': '',
		'imageId': '66900669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900671&x=1439',
		'title': '',
		'imageId': '66900671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900667&x=1439',
		'title': '',
		'imageId': '66900667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900673&x=1439',
		'title': '',
		'imageId': '66900673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900665&x=1439',
		'title': '',
		'imageId': '66900665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900672&x=1439',
		'title': '',
		'imageId': '66900672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900670&x=1439',
		'title': '',
		'imageId': '66900670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900681&x=1439',
		'title': '',
		'imageId': '66900681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900666&x=1439',
		'title': '',
		'imageId': '66900666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900676&x=1439',
		'title': '',
		'imageId': '66900676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900662&x=1439',
		'title': '',
		'imageId': '66900662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900674&x=1439',
		'title': '',
		'imageId': '66900674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900675&x=1439',
		'title': '',
		'imageId': '66900675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900668&x=1439',
		'title': '',
		'imageId': '66900668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900663&x=1439',
		'title': '',
		'imageId': '66900663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900677&x=1439',
		'title': '',
		'imageId': '66900677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3907999&docid=66900683&x=1439',
		'title': '',
		'imageId': '66900683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3907999';

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