var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064983&x=1437',
		'title': '',
		'imageId': '70064983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064985&x=1437',
		'title': '',
		'imageId': '70064985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064990&x=1437',
		'title': '',
		'imageId': '70064990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065000&x=1437',
		'title': '',
		'imageId': '70065000',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064988&x=1437',
		'title': '',
		'imageId': '70064988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065005&x=1437',
		'title': '',
		'imageId': '70065005',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064989&x=1437',
		'title': '',
		'imageId': '70064989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064999&x=1437',
		'title': '',
		'imageId': '70064999',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064992&x=1437',
		'title': '',
		'imageId': '70064992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065010&x=1437',
		'title': '',
		'imageId': '70065010',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064997&x=1437',
		'title': '',
		'imageId': '70064997',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065007&x=1437',
		'title': '',
		'imageId': '70065007',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064991&x=1437',
		'title': '',
		'imageId': '70064991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064996&x=1437',
		'title': '',
		'imageId': '70064996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064987&x=1437',
		'title': '',
		'imageId': '70064987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065009&x=1437',
		'title': '',
		'imageId': '70065009',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065006&x=1437',
		'title': '',
		'imageId': '70065006',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064986&x=1437',
		'title': '',
		'imageId': '70064986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70065008&x=1437',
		'title': '',
		'imageId': '70065008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064984&x=1437',
		'title': '',
		'imageId': '70064984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064993&x=1437',
		'title': '',
		'imageId': '70064993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001868&docid=70064998&x=1437',
		'title': '',
		'imageId': '70064998',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001868';

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