var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438575&x=5655',
		'title': '',
		'imageId': '69438575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438576&x=5655',
		'title': '',
		'imageId': '69438576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438577&x=5655',
		'title': '',
		'imageId': '69438577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438578&x=5655',
		'title': '',
		'imageId': '69438578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438580&x=5655',
		'title': '',
		'imageId': '69438580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438581&x=5655',
		'title': '',
		'imageId': '69438581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438582&x=5655',
		'title': '',
		'imageId': '69438582',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438583&x=5655',
		'title': '',
		'imageId': '69438583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438584&x=5655',
		'title': '',
		'imageId': '69438584',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438585&x=5655',
		'title': '',
		'imageId': '69438585',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438586&x=5655',
		'title': '',
		'imageId': '69438586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438587&x=5655',
		'title': '',
		'imageId': '69438587',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438588&x=5655',
		'title': '',
		'imageId': '69438588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438589&x=5655',
		'title': '',
		'imageId': '69438589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438590&x=5655',
		'title': '',
		'imageId': '69438590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3987527&docid=69438591&x=5655',
		'title': '',
		'imageId': '69438591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3987527';

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