var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484876&x=206',
		'title': '',
		'imageId': '67484876',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484877&x=206',
		'title': '',
		'imageId': '67484877',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484881&x=206',
		'title': '',
		'imageId': '67484881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484871&x=206',
		'title': '',
		'imageId': '67484871',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484888&x=206',
		'title': '',
		'imageId': '67484888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484873&x=206',
		'title': '',
		'imageId': '67484873',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484874&x=206',
		'title': '',
		'imageId': '67484874',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484875&x=206',
		'title': '',
		'imageId': '67484875',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484872&x=206',
		'title': '',
		'imageId': '67484872',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484889&x=206',
		'title': '',
		'imageId': '67484889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484886&x=206',
		'title': '',
		'imageId': '67484886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484887&x=206',
		'title': '',
		'imageId': '67484887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484885&x=206',
		'title': '',
		'imageId': '67484885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484884&x=206',
		'title': '',
		'imageId': '67484884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484882&x=206',
		'title': '',
		'imageId': '67484882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484883&x=206',
		'title': '',
		'imageId': '67484883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484879&x=206',
		'title': '',
		'imageId': '67484879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484880&x=206',
		'title': '',
		'imageId': '67484880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3906274&docid=67484878&x=206',
		'title': '',
		'imageId': '67484878',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3906274';

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