var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834110&x=189',
		'title': '',
		'imageId': '69834110',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261619&x=189',
		'title': '',
		'imageId': '70261619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834099&x=189',
		'title': '',
		'imageId': '69834099',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834100&x=189',
		'title': '',
		'imageId': '69834100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834109&x=189',
		'title': '',
		'imageId': '69834109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834105&x=189',
		'title': '',
		'imageId': '69834105',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834108&x=189',
		'title': '',
		'imageId': '69834108',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834101&x=189',
		'title': '',
		'imageId': '69834101',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834106&x=189',
		'title': '',
		'imageId': '69834106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70023445&x=189',
		'title': '',
		'imageId': '70023445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261616&x=189',
		'title': '',
		'imageId': '70261616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70023448&x=189',
		'title': '',
		'imageId': '70023448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261617&x=189',
		'title': '',
		'imageId': '70261617',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70023447&x=189',
		'title': '',
		'imageId': '70023447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261613&x=189',
		'title': '',
		'imageId': '70261613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261615&x=189',
		'title': '',
		'imageId': '70261615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261618&x=189',
		'title': '',
		'imageId': '70261618',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70023446&x=189',
		'title': '',
		'imageId': '70023446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834104&x=189',
		'title': '',
		'imageId': '69834104',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70023449&x=189',
		'title': '',
		'imageId': '70023449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=70261614&x=189',
		'title': '',
		'imageId': '70261614',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834107&x=189',
		'title': '',
		'imageId': '69834107',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004860&docid=69834102&x=189',
		'title': '',
		'imageId': '69834102',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004860';

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