var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242328&x=5423',
		'title': '',
		'imageId': '65242328',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242329&x=5423',
		'title': '',
		'imageId': '65242329',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242330&x=5423',
		'title': '',
		'imageId': '65242330',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242331&x=5423',
		'title': '',
		'imageId': '65242331',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242334&x=5423',
		'title': '',
		'imageId': '65242334',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242338&x=5423',
		'title': '',
		'imageId': '65242338',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242341&x=5423',
		'title': '',
		'imageId': '65242341',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242344&x=5423',
		'title': '',
		'imageId': '65242344',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242345&x=5423',
		'title': '',
		'imageId': '65242345',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242346&x=5423',
		'title': '',
		'imageId': '65242346',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242350&x=5423',
		'title': '',
		'imageId': '65242350',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242351&x=5423',
		'title': '',
		'imageId': '65242351',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242352&x=5423',
		'title': '',
		'imageId': '65242352',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242355&x=5423',
		'title': '',
		'imageId': '65242355',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242356&x=5423',
		'title': '',
		'imageId': '65242356',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242357&x=5423',
		'title': '',
		'imageId': '65242357',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242358&x=5423',
		'title': '',
		'imageId': '65242358',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242359&x=5423',
		'title': '',
		'imageId': '65242359',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242360&x=5423',
		'title': '',
		'imageId': '65242360',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3813496&docid=65242361&x=5423',
		'title': '',
		'imageId': '65242361',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3813496';

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