var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836662&x=5014',
		'title': '',
		'imageId': '69836662',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836673&x=5014',
		'title': '',
		'imageId': '69836673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836669&x=5014',
		'title': '',
		'imageId': '69836669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836672&x=5014',
		'title': '',
		'imageId': '69836672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836668&x=5014',
		'title': '',
		'imageId': '69836668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836670&x=5014',
		'title': '',
		'imageId': '69836670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836659&x=5014',
		'title': '',
		'imageId': '69836659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836667&x=5014',
		'title': '',
		'imageId': '69836667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836671&x=5014',
		'title': '',
		'imageId': '69836671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836666&x=5014',
		'title': '',
		'imageId': '69836666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836674&x=5014',
		'title': '',
		'imageId': '69836674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836675&x=5014',
		'title': '',
		'imageId': '69836675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836658&x=5014',
		'title': '',
		'imageId': '69836658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836664&x=5014',
		'title': '',
		'imageId': '69836664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836663&x=5014',
		'title': '',
		'imageId': '69836663',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836661&x=5014',
		'title': '',
		'imageId': '69836661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836665&x=5014',
		'title': '',
		'imageId': '69836665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69836660&x=5014',
		'title': '',
		'imageId': '69836660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004957&docid=69852661&x=5014',
		'title': '',
		'imageId': '69852661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004957';

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