var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143096&x=358',
		'title': '',
		'imageId': '69143096',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143100&x=358',
		'title': '',
		'imageId': '69143100',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143103&x=358',
		'title': '',
		'imageId': '69143103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143106&x=358',
		'title': '',
		'imageId': '69143106',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143109&x=358',
		'title': '',
		'imageId': '69143109',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143112&x=358',
		'title': '',
		'imageId': '69143112',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143115&x=358',
		'title': '',
		'imageId': '69143115',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143118&x=358',
		'title': '',
		'imageId': '69143118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143121&x=358',
		'title': '',
		'imageId': '69143121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143124&x=358',
		'title': '',
		'imageId': '69143124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143127&x=358',
		'title': '',
		'imageId': '69143127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974888&docid=69143131&x=358',
		'title': '',
		'imageId': '69143131',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974888';

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