var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229236&x=5335',
		'title': '',
		'imageId': '69229236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229220&x=5335',
		'title': '',
		'imageId': '69229220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229260&x=5335',
		'title': '',
		'imageId': '69229260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229221&x=5335',
		'title': '',
		'imageId': '69229221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229224&x=5335',
		'title': '',
		'imageId': '69229224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229227&x=5335',
		'title': '',
		'imageId': '69229227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229233&x=5335',
		'title': '',
		'imageId': '69229233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229254&x=5335',
		'title': '',
		'imageId': '69229254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229253&x=5335',
		'title': '',
		'imageId': '69229253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229231&x=5335',
		'title': '',
		'imageId': '69229231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229248&x=5335',
		'title': '',
		'imageId': '69229248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229242&x=5335',
		'title': '',
		'imageId': '69229242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229250&x=5335',
		'title': '',
		'imageId': '69229250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229239&x=5335',
		'title': '',
		'imageId': '69229239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229257&x=5335',
		'title': '',
		'imageId': '69229257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229217&x=5335',
		'title': '',
		'imageId': '69229217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229218&x=5335',
		'title': '',
		'imageId': '69229218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229216&x=5335',
		'title': '',
		'imageId': '69229216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229219&x=5335',
		'title': '',
		'imageId': '69229219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3978731&docid=69229263&x=5335',
		'title': '',
		'imageId': '69229263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3978731';

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