var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697227&x=5722',
		'title': '',
		'imageId': '69697227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697230&x=5722',
		'title': '',
		'imageId': '69697230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697231&x=5722',
		'title': '',
		'imageId': '69697231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697232&x=5722',
		'title': '',
		'imageId': '69697232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697233&x=5722',
		'title': '',
		'imageId': '69697233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697234&x=5722',
		'title': '',
		'imageId': '69697234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697235&x=5722',
		'title': '',
		'imageId': '69697235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697236&x=5722',
		'title': '',
		'imageId': '69697236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697237&x=5722',
		'title': '',
		'imageId': '69697237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697247&x=5722',
		'title': '',
		'imageId': '69697247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697248&x=5722',
		'title': '',
		'imageId': '69697248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697249&x=5722',
		'title': '',
		'imageId': '69697249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697251&x=5722',
		'title': '',
		'imageId': '69697251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697252&x=5722',
		'title': '',
		'imageId': '69697252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697253&x=5722',
		'title': '',
		'imageId': '69697253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697254&x=5722',
		'title': '',
		'imageId': '69697254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697255&x=5722',
		'title': '',
		'imageId': '69697255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697261&x=5722',
		'title': '',
		'imageId': '69697261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697572&x=5722',
		'title': '',
		'imageId': '69697572',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697573&x=5722',
		'title': '',
		'imageId': '69697573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697574&x=5722',
		'title': '',
		'imageId': '69697574',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3999512&docid=69697575&x=5722',
		'title': '',
		'imageId': '69697575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3999512';

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