var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393270&x=1413',
		'title': '',
		'imageId': '65393270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393285&x=1413',
		'title': '',
		'imageId': '65393285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393303&x=1413',
		'title': '',
		'imageId': '65393303',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393274&x=1413',
		'title': '',
		'imageId': '65393274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393282&x=1413',
		'title': '',
		'imageId': '65393282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393247&x=1413',
		'title': '',
		'imageId': '65393247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393256&x=1413',
		'title': '',
		'imageId': '65393256',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393254&x=1413',
		'title': '',
		'imageId': '65393254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393266&x=1413',
		'title': '',
		'imageId': '65393266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393249&x=1413',
		'title': '',
		'imageId': '65393249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393272&x=1413',
		'title': '',
		'imageId': '65393272',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393290&x=1413',
		'title': '',
		'imageId': '65393290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393294&x=1413',
		'title': '',
		'imageId': '65393294',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393263&x=1413',
		'title': '',
		'imageId': '65393263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393298&x=1413',
		'title': '',
		'imageId': '65393298',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393275&x=1413',
		'title': '',
		'imageId': '65393275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393287&x=1413',
		'title': '',
		'imageId': '65393287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393296&x=1413',
		'title': '',
		'imageId': '65393296',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=69325857&x=1413',
		'title': '',
		'imageId': '69325857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=69325856&x=1413',
		'title': '',
		'imageId': '69325856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393248&x=1413',
		'title': '',
		'imageId': '65393248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982849&docid=65393244&x=1413',
		'title': '',
		'imageId': '65393244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982849';

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