var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281859&x=5256',
		'title': '',
		'imageId': '69281859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281861&x=5256',
		'title': '',
		'imageId': '69281861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281860&x=5256',
		'title': '',
		'imageId': '69281860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281863&x=5256',
		'title': '',
		'imageId': '69281863',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281862&x=5256',
		'title': '',
		'imageId': '69281862',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281858&x=5256',
		'title': '',
		'imageId': '69281858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281866&x=5256',
		'title': '',
		'imageId': '69281866',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281865&x=5256',
		'title': '',
		'imageId': '69281865',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281868&x=5256',
		'title': '',
		'imageId': '69281868',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281867&x=5256',
		'title': '',
		'imageId': '69281867',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281864&x=5256',
		'title': '',
		'imageId': '69281864',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281871&x=5256',
		'title': '',
		'imageId': '69281871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281869&x=5256',
		'title': '',
		'imageId': '69281869',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281870&x=5256',
		'title': '',
		'imageId': '69281870',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281872&x=5256',
		'title': '',
		'imageId': '69281872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281873&x=5256',
		'title': '',
		'imageId': '69281873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3985762&docid=69281874&x=5256',
		'title': '',
		'imageId': '69281874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3985762';

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