var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116893&x=2928',
		'title': '',
		'imageId': '70116893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116885&x=2928',
		'title': '',
		'imageId': '70116885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116889&x=2928',
		'title': '',
		'imageId': '70116889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116887&x=2928',
		'title': '',
		'imageId': '70116887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116883&x=2928',
		'title': '',
		'imageId': '70116883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116902&x=2928',
		'title': '',
		'imageId': '70116902',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116896&x=2928',
		'title': '',
		'imageId': '70116896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116900&x=2928',
		'title': '',
		'imageId': '70116900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116898&x=2928',
		'title': '',
		'imageId': '70116898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116892&x=2928',
		'title': '',
		'imageId': '70116892',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116899&x=2928',
		'title': '',
		'imageId': '70116899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116901&x=2928',
		'title': '',
		'imageId': '70116901',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116881&x=2928',
		'title': '',
		'imageId': '70116881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116882&x=2928',
		'title': '',
		'imageId': '70116882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116890&x=2928',
		'title': '',
		'imageId': '70116890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116903&x=2928',
		'title': '',
		'imageId': '70116903',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116884&x=2928',
		'title': '',
		'imageId': '70116884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116897&x=2928',
		'title': '',
		'imageId': '70116897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116888&x=2928',
		'title': '',
		'imageId': '70116888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116891&x=2928',
		'title': '',
		'imageId': '70116891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116886&x=2928',
		'title': '',
		'imageId': '70116886',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116894&x=2928',
		'title': '',
		'imageId': '70116894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116895&x=2928',
		'title': '',
		'imageId': '70116895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4016099&docid=70116880&x=2928',
		'title': '',
		'imageId': '70116880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4016099';

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