var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059196&x=058',
		'title': '',
		'imageId': '70059196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059197&x=058',
		'title': '',
		'imageId': '70059197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059198&x=058',
		'title': '',
		'imageId': '70059198',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059199&x=058',
		'title': '',
		'imageId': '70059199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059204&x=058',
		'title': '',
		'imageId': '70059204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059205&x=058',
		'title': '',
		'imageId': '70059205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059210&x=058',
		'title': '',
		'imageId': '70059210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059213&x=058',
		'title': '',
		'imageId': '70059213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059215&x=058',
		'title': '',
		'imageId': '70059215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059219&x=058',
		'title': '',
		'imageId': '70059219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059222&x=058',
		'title': '',
		'imageId': '70059222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059225&x=058',
		'title': '',
		'imageId': '70059225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059228&x=058',
		'title': '',
		'imageId': '70059228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059231&x=058',
		'title': '',
		'imageId': '70059231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059234&x=058',
		'title': '',
		'imageId': '70059234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059239&x=058',
		'title': '',
		'imageId': '70059239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059242&x=058',
		'title': '',
		'imageId': '70059242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059245&x=058',
		'title': '',
		'imageId': '70059245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059248&x=058',
		'title': '',
		'imageId': '70059248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059251&x=058',
		'title': '',
		'imageId': '70059251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059252&x=058',
		'title': '',
		'imageId': '70059252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059257&x=058',
		'title': '',
		'imageId': '70059257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4014075&docid=70059260&x=058',
		'title': '',
		'imageId': '70059260',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4014075';

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