var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963054&x=5917',
		'title': '',
		'imageId': '66963054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963229&x=5917',
		'title': '',
		'imageId': '66963229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963010&x=5917',
		'title': '',
		'imageId': '66963010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963191&x=5917',
		'title': '',
		'imageId': '66963191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963270&x=5917',
		'title': '',
		'imageId': '66963270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963241&x=5917',
		'title': '',
		'imageId': '66963241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963105&x=5917',
		'title': '',
		'imageId': '66963105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963074&x=5917',
		'title': '',
		'imageId': '66963074',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963078&x=5917',
		'title': '',
		'imageId': '66963078',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963066&x=5917',
		'title': '',
		'imageId': '66963066',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963226&x=5917',
		'title': '',
		'imageId': '66963226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963220&x=5917',
		'title': '',
		'imageId': '66963220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963246&x=5917',
		'title': '',
		'imageId': '66963246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=69926316&x=5917',
		'title': '',
		'imageId': '69926316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963022&x=5917',
		'title': '',
		'imageId': '66963022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963025&x=5917',
		'title': '',
		'imageId': '66963025',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963223&x=5917',
		'title': '',
		'imageId': '66963223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963264&x=5917',
		'title': '',
		'imageId': '66963264',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=66963249&x=5917',
		'title': '',
		'imageId': '66963249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=69916741&x=5917',
		'title': '',
		'imageId': '69916741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=69926304&x=5917',
		'title': '',
		'imageId': '69926304',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3883244&docid=69926307&x=5917',
		'title': '',
		'imageId': '69926307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3883244';

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