var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133022&x=723',
		'title': '',
		'imageId': '68133022',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133003&x=723',
		'title': '',
		'imageId': '68133003',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133020&x=723',
		'title': '',
		'imageId': '68133020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133018&x=723',
		'title': '',
		'imageId': '68133018',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133009&x=723',
		'title': '',
		'imageId': '68133009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133012&x=723',
		'title': '',
		'imageId': '68133012',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133013&x=723',
		'title': '',
		'imageId': '68133013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133014&x=723',
		'title': '',
		'imageId': '68133014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133011&x=723',
		'title': '',
		'imageId': '68133011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133010&x=723',
		'title': '',
		'imageId': '68133010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133008&x=723',
		'title': '',
		'imageId': '68133008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133005&x=723',
		'title': '',
		'imageId': '68133005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133004&x=723',
		'title': '',
		'imageId': '68133004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133006&x=723',
		'title': '',
		'imageId': '68133006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133015&x=723',
		'title': '',
		'imageId': '68133015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133002&x=723',
		'title': '',
		'imageId': '68133002',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133007&x=723',
		'title': '',
		'imageId': '68133007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133016&x=723',
		'title': '',
		'imageId': '68133016',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133021&x=723',
		'title': '',
		'imageId': '68133021',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133023&x=723',
		'title': '',
		'imageId': '68133023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133019&x=723',
		'title': '',
		'imageId': '68133019',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3930209&docid=68133017&x=723',
		'title': '',
		'imageId': '68133017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3930209';

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