var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114993&x=3058',
		'title': '',
		'imageId': '70114993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114982&x=3058',
		'title': '',
		'imageId': '70114982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114995&x=3058',
		'title': '',
		'imageId': '70114995',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114990&x=3058',
		'title': '',
		'imageId': '70114990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114986&x=3058',
		'title': '',
		'imageId': '70114986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114985&x=3058',
		'title': '',
		'imageId': '70114985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114977&x=3058',
		'title': '',
		'imageId': '70114977',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114976&x=3058',
		'title': '',
		'imageId': '70114976',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114992&x=3058',
		'title': '',
		'imageId': '70114992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114979&x=3058',
		'title': '',
		'imageId': '70114979',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114987&x=3058',
		'title': '',
		'imageId': '70114987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114989&x=3058',
		'title': '',
		'imageId': '70114989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114978&x=3058',
		'title': '',
		'imageId': '70114978',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114996&x=3058',
		'title': '',
		'imageId': '70114996',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114983&x=3058',
		'title': '',
		'imageId': '70114983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114991&x=3058',
		'title': '',
		'imageId': '70114991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114994&x=3058',
		'title': '',
		'imageId': '70114994',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114984&x=3058',
		'title': '',
		'imageId': '70114984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114988&x=3058',
		'title': '',
		'imageId': '70114988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114981&x=3058',
		'title': '',
		'imageId': '70114981',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70114980&x=3058',
		'title': '',
		'imageId': '70114980',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016029&docid=70115068&x=3058',
		'title': '',
		'imageId': '70115068',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016029';

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