var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339605&x=422',
		'title': '',
		'imageId': '68339605',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339609&x=422',
		'title': '',
		'imageId': '68339609',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339606&x=422',
		'title': '',
		'imageId': '68339606',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339608&x=422',
		'title': '',
		'imageId': '68339608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339610&x=422',
		'title': '',
		'imageId': '68339610',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339607&x=422',
		'title': '',
		'imageId': '68339607',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339613&x=422',
		'title': '',
		'imageId': '68339613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339616&x=422',
		'title': '',
		'imageId': '68339616',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339619&x=422',
		'title': '',
		'imageId': '68339619',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339628&x=422',
		'title': '',
		'imageId': '68339628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339633&x=422',
		'title': '',
		'imageId': '68339633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339632&x=422',
		'title': '',
		'imageId': '68339632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339631&x=422',
		'title': '',
		'imageId': '68339631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339634&x=422',
		'title': '',
		'imageId': '68339634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339637&x=422',
		'title': '',
		'imageId': '68339637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339640&x=422',
		'title': '',
		'imageId': '68339640',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339648&x=422',
		'title': '',
		'imageId': '68339648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339652&x=422',
		'title': '',
		'imageId': '68339652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339653&x=422',
		'title': '',
		'imageId': '68339653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339656&x=422',
		'title': '',
		'imageId': '68339656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339657&x=422',
		'title': '',
		'imageId': '68339657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339658&x=422',
		'title': '',
		'imageId': '68339658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339661&x=422',
		'title': '',
		'imageId': '68339661',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339668&x=422',
		'title': '',
		'imageId': '68339668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339671&x=422',
		'title': '',
		'imageId': '68339671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339674&x=422',
		'title': '',
		'imageId': '68339674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339677&x=422',
		'title': '',
		'imageId': '68339677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339678&x=422',
		'title': '',
		'imageId': '68339678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339681&x=422',
		'title': '',
		'imageId': '68339681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339683&x=422',
		'title': '',
		'imageId': '68339683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339687&x=422',
		'title': '',
		'imageId': '68339687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339688&x=422',
		'title': '',
		'imageId': '68339688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339693&x=422',
		'title': '',
		'imageId': '68339693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339694&x=422',
		'title': '',
		'imageId': '68339694',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339699&x=422',
		'title': '',
		'imageId': '68339699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339700&x=422',
		'title': '',
		'imageId': '68339700',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339711&x=422',
		'title': '',
		'imageId': '68339711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339715&x=422',
		'title': '',
		'imageId': '68339715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339718&x=422',
		'title': '',
		'imageId': '68339718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339717&x=422',
		'title': '',
		'imageId': '68339717',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339729&x=422',
		'title': '',
		'imageId': '68339729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339730&x=422',
		'title': '',
		'imageId': '68339730',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339744&x=422',
		'title': '',
		'imageId': '68339744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339751&x=422',
		'title': '',
		'imageId': '68339751',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339752&x=422',
		'title': '',
		'imageId': '68339752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339759&x=422',
		'title': '',
		'imageId': '68339759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3938766&docid=68339760&x=422',
		'title': '',
		'imageId': '68339760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3938766';

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