var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115364&x=318',
		'title': '',
		'imageId': '69115364',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115366&x=318',
		'title': '',
		'imageId': '69115366',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115368&x=318',
		'title': '',
		'imageId': '69115368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115363&x=318',
		'title': '',
		'imageId': '69115363',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115362&x=318',
		'title': '',
		'imageId': '69115362',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115365&x=318',
		'title': '',
		'imageId': '69115365',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115371&x=318',
		'title': '',
		'imageId': '69115371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115360&x=318',
		'title': '',
		'imageId': '69115360',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115381&x=318',
		'title': '',
		'imageId': '69115381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115367&x=318',
		'title': '',
		'imageId': '69115367',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115378&x=318',
		'title': '',
		'imageId': '69115378',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115370&x=318',
		'title': '',
		'imageId': '69115370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115372&x=318',
		'title': '',
		'imageId': '69115372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115369&x=318',
		'title': '',
		'imageId': '69115369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115373&x=318',
		'title': '',
		'imageId': '69115373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115375&x=318',
		'title': '',
		'imageId': '69115375',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115376&x=318',
		'title': '',
		'imageId': '69115376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115377&x=318',
		'title': '',
		'imageId': '69115377',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115374&x=318',
		'title': '',
		'imageId': '69115374',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115382&x=318',
		'title': '',
		'imageId': '69115382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115380&x=318',
		'title': '',
		'imageId': '69115380',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115379&x=318',
		'title': '',
		'imageId': '69115379',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973734&docid=69115361&x=318',
		'title': '',
		'imageId': '69115361',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973734';

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