var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208974&x=3436',
		'title': '',
		'imageId': '69208974',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69209005&x=3436',
		'title': '',
		'imageId': '69209005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69209014&x=3436',
		'title': '',
		'imageId': '69209014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208991&x=3436',
		'title': '',
		'imageId': '69208991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208973&x=3436',
		'title': '',
		'imageId': '69208973',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208975&x=3436',
		'title': '',
		'imageId': '69208975',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208971&x=3436',
		'title': '',
		'imageId': '69208971',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208989&x=3436',
		'title': '',
		'imageId': '69208989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208992&x=3436',
		'title': '',
		'imageId': '69208992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208993&x=3436',
		'title': '',
		'imageId': '69208993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208990&x=3436',
		'title': '',
		'imageId': '69208990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208994&x=3436',
		'title': '',
		'imageId': '69208994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69209004&x=3436',
		'title': '',
		'imageId': '69209004',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69209013&x=3436',
		'title': '',
		'imageId': '69209013',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69209015&x=3436',
		'title': '',
		'imageId': '69209015',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208972&x=3436',
		'title': '',
		'imageId': '69208972',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978014&docid=69208976&x=3436',
		'title': '',
		'imageId': '69208976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978014';

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