var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972580&x=256',
		'title': '',
		'imageId': '69972580',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972577&x=256',
		'title': '',
		'imageId': '69972577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972581&x=256',
		'title': '',
		'imageId': '69972581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972579&x=256',
		'title': '',
		'imageId': '69972579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972590&x=256',
		'title': '',
		'imageId': '69972590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972591&x=256',
		'title': '',
		'imageId': '69972591',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972594&x=256',
		'title': '',
		'imageId': '69972594',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972595&x=256',
		'title': '',
		'imageId': '69972595',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972600&x=256',
		'title': '',
		'imageId': '69972600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972602&x=256',
		'title': '',
		'imageId': '69972602',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972611&x=256',
		'title': '',
		'imageId': '69972611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972605&x=256',
		'title': '',
		'imageId': '69972605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972610&x=256',
		'title': '',
		'imageId': '69972610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972615&x=256',
		'title': '',
		'imageId': '69972615',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972620&x=256',
		'title': '',
		'imageId': '69972620',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972621&x=256',
		'title': '',
		'imageId': '69972621',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972624&x=256',
		'title': '',
		'imageId': '69972624',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972576&x=256',
		'title': '',
		'imageId': '69972576',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4010565&docid=69972578&x=256',
		'title': '',
		'imageId': '69972578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4010565';

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