var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039802&x=2718',
		'title': '',
		'imageId': '63039802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039779&x=2718',
		'title': '',
		'imageId': '63039779',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039780&x=2718',
		'title': '',
		'imageId': '63039780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039781&x=2718',
		'title': '',
		'imageId': '63039781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039782&x=2718',
		'title': '',
		'imageId': '63039782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039783&x=2718',
		'title': '',
		'imageId': '63039783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039784&x=2718',
		'title': '',
		'imageId': '63039784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039785&x=2718',
		'title': '',
		'imageId': '63039785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039786&x=2718',
		'title': '',
		'imageId': '63039786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039787&x=2718',
		'title': '',
		'imageId': '63039787',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039788&x=2718',
		'title': '',
		'imageId': '63039788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039789&x=2718',
		'title': '',
		'imageId': '63039789',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039790&x=2718',
		'title': '',
		'imageId': '63039790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039791&x=2718',
		'title': '',
		'imageId': '63039791',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039792&x=2718',
		'title': '',
		'imageId': '63039792',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039793&x=2718',
		'title': '',
		'imageId': '63039793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039794&x=2718',
		'title': '',
		'imageId': '63039794',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039795&x=2718',
		'title': '',
		'imageId': '63039795',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039796&x=2718',
		'title': '',
		'imageId': '63039796',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039797&x=2718',
		'title': '',
		'imageId': '63039797',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039798&x=2718',
		'title': '',
		'imageId': '63039798',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039799&x=2718',
		'title': '',
		'imageId': '63039799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039800&x=2718',
		'title': '',
		'imageId': '63039800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975801&docid=63039801&x=2718',
		'title': '',
		'imageId': '63039801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975801';

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