var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790473&x=5942',
		'title': '',
		'imageId': '69790473',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790465&x=5942',
		'title': '',
		'imageId': '69790465',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790472&x=5942',
		'title': '',
		'imageId': '69790472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790469&x=5942',
		'title': '',
		'imageId': '69790469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790467&x=5942',
		'title': '',
		'imageId': '69790467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790468&x=5942',
		'title': '',
		'imageId': '69790468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790461&x=5942',
		'title': '',
		'imageId': '69790461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790441&x=5942',
		'title': '',
		'imageId': '69790441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790439&x=5942',
		'title': '',
		'imageId': '69790439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790442&x=5942',
		'title': '',
		'imageId': '69790442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790444&x=5942',
		'title': '',
		'imageId': '69790444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790445&x=5942',
		'title': '',
		'imageId': '69790445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790447&x=5942',
		'title': '',
		'imageId': '69790447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790443&x=5942',
		'title': '',
		'imageId': '69790443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790440&x=5942',
		'title': '',
		'imageId': '69790440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790438&x=5942',
		'title': '',
		'imageId': '69790438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790446&x=5942',
		'title': '',
		'imageId': '69790446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790448&x=5942',
		'title': '',
		'imageId': '69790448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790458&x=5942',
		'title': '',
		'imageId': '69790458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790462&x=5942',
		'title': '',
		'imageId': '69790462',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790455&x=5942',
		'title': '',
		'imageId': '69790455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790464&x=5942',
		'title': '',
		'imageId': '69790464',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790456&x=5942',
		'title': '',
		'imageId': '69790456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790457&x=5942',
		'title': '',
		'imageId': '69790457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790463&x=5942',
		'title': '',
		'imageId': '69790463',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790459&x=5942',
		'title': '',
		'imageId': '69790459',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790460&x=5942',
		'title': '',
		'imageId': '69790460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790466&x=5942',
		'title': '',
		'imageId': '69790466',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790470&x=5942',
		'title': '',
		'imageId': '69790470',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790471&x=5942',
		'title': '',
		'imageId': '69790471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790452&x=5942',
		'title': '',
		'imageId': '69790452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790454&x=5942',
		'title': '',
		'imageId': '69790454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790453&x=5942',
		'title': '',
		'imageId': '69790453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790451&x=5942',
		'title': '',
		'imageId': '69790451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790450&x=5942',
		'title': '',
		'imageId': '69790450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4003185&docid=69790449&x=5942',
		'title': '',
		'imageId': '69790449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4003185';

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