var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534075&x=1859',
		'title': '',
		'imageId': '69534075',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534078&x=1859',
		'title': '',
		'imageId': '69534078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534081&x=1859',
		'title': '',
		'imageId': '69534081',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534084&x=1859',
		'title': '',
		'imageId': '69534084',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534089&x=1859',
		'title': '',
		'imageId': '69534089',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534093&x=1859',
		'title': '',
		'imageId': '69534093',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534098&x=1859',
		'title': '',
		'imageId': '69534098',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534110&x=1859',
		'title': '',
		'imageId': '69534110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534118&x=1859',
		'title': '',
		'imageId': '69534118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534122&x=1859',
		'title': '',
		'imageId': '69534122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3992076&docid=69534125&x=1859',
		'title': '',
		'imageId': '69534125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3992076';

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