var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862715&x=5948',
		'title': '',
		'imageId': '69862715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862719&x=5948',
		'title': '',
		'imageId': '69862719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862707&x=5948',
		'title': '',
		'imageId': '69862707',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862713&x=5948',
		'title': '',
		'imageId': '69862713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862721&x=5948',
		'title': '',
		'imageId': '69862721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862711&x=5948',
		'title': '',
		'imageId': '69862711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862705&x=5948',
		'title': '',
		'imageId': '69862705',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862710&x=5948',
		'title': '',
		'imageId': '69862710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862723&x=5948',
		'title': '',
		'imageId': '69862723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862709&x=5948',
		'title': '',
		'imageId': '69862709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862704&x=5948',
		'title': '',
		'imageId': '69862704',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862716&x=5948',
		'title': '',
		'imageId': '69862716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862714&x=5948',
		'title': '',
		'imageId': '69862714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862712&x=5948',
		'title': '',
		'imageId': '69862712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862727&x=5948',
		'title': '',
		'imageId': '69862727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862717&x=5948',
		'title': '',
		'imageId': '69862717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862724&x=5948',
		'title': '',
		'imageId': '69862724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862706&x=5948',
		'title': '',
		'imageId': '69862706',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862722&x=5948',
		'title': '',
		'imageId': '69862722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862703&x=5948',
		'title': '',
		'imageId': '69862703',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862718&x=5948',
		'title': '',
		'imageId': '69862718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=69862708&x=5948',
		'title': '',
		'imageId': '69862708',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=59270573&x=5948',
		'title': '',
		'imageId': '59270573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4006196&docid=59270572&x=5948',
		'title': '',
		'imageId': '59270572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4006196';

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