var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984975&x=495',
		'title': '',
		'imageId': '70984975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984974&x=495',
		'title': '',
		'imageId': '70984974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984967&x=495',
		'title': '',
		'imageId': '70984967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984968&x=495',
		'title': '',
		'imageId': '70984968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984970&x=495',
		'title': '',
		'imageId': '70984970',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984976&x=495',
		'title': '',
		'imageId': '70984976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984969&x=495',
		'title': '',
		'imageId': '70984969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984973&x=495',
		'title': '',
		'imageId': '70984973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984971&x=495',
		'title': '',
		'imageId': '70984971',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984977&x=495',
		'title': '',
		'imageId': '70984977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984978&x=495',
		'title': '',
		'imageId': '70984978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984980&x=495',
		'title': '',
		'imageId': '70984980',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984989&x=495',
		'title': '',
		'imageId': '70984989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984979&x=495',
		'title': '',
		'imageId': '70984979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984983&x=495',
		'title': '',
		'imageId': '70984983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984987&x=495',
		'title': '',
		'imageId': '70984987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984984&x=495',
		'title': '',
		'imageId': '70984984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984985&x=495',
		'title': '',
		'imageId': '70984985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984982&x=495',
		'title': '',
		'imageId': '70984982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984988&x=495',
		'title': '',
		'imageId': '70984988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70985212&x=495',
		'title': '',
		'imageId': '70985212',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70985211&x=495',
		'title': '',
		'imageId': '70985211',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984972&x=495',
		'title': '',
		'imageId': '70984972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70984981&x=495',
		'title': '',
		'imageId': '70984981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70985213&x=495',
		'title': '',
		'imageId': '70985213',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70985214&x=495',
		'title': '',
		'imageId': '70985214',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058554&docid=70985215&x=495',
		'title': '',
		'imageId': '70985215',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058554';

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