var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126769&x=1525',
		'title': '',
		'imageId': '69126769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126772&x=1525',
		'title': '',
		'imageId': '69126772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126766&x=1525',
		'title': '',
		'imageId': '69126766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126790&x=1525',
		'title': '',
		'imageId': '69126790',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126775&x=1525',
		'title': '',
		'imageId': '69126775',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126783&x=1525',
		'title': '',
		'imageId': '69126783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126782&x=1525',
		'title': '',
		'imageId': '69126782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126784&x=1525',
		'title': '',
		'imageId': '69126784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126788&x=1525',
		'title': '',
		'imageId': '69126788',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126793&x=1525',
		'title': '',
		'imageId': '69126793',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126762&x=1525',
		'title': '',
		'imageId': '69126762',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126763&x=1525',
		'title': '',
		'imageId': '69126763',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126758&x=1525',
		'title': '',
		'imageId': '69126758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126760&x=1525',
		'title': '',
		'imageId': '69126760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126761&x=1525',
		'title': '',
		'imageId': '69126761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974150&docid=69126759&x=1525',
		'title': '',
		'imageId': '69126759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974150';

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