var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511527&x=1224',
		'title': '',
		'imageId': '68511527',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511532&x=1224',
		'title': '',
		'imageId': '68511532',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511529&x=1224',
		'title': '',
		'imageId': '68511529',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511528&x=1224',
		'title': '',
		'imageId': '68511528',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511509&x=1224',
		'title': '',
		'imageId': '68511509',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511512&x=1224',
		'title': '',
		'imageId': '68511512',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511513&x=1224',
		'title': '',
		'imageId': '68511513',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511514&x=1224',
		'title': '',
		'imageId': '68511514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511517&x=1224',
		'title': '',
		'imageId': '68511517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511522&x=1224',
		'title': '',
		'imageId': '68511522',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511510&x=1224',
		'title': '',
		'imageId': '68511510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511537&x=1224',
		'title': '',
		'imageId': '68511537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511541&x=1224',
		'title': '',
		'imageId': '68511541',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511548&x=1224',
		'title': '',
		'imageId': '68511548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68697135&x=1224',
		'title': '',
		'imageId': '68697135',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68697136&x=1224',
		'title': '',
		'imageId': '68697136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511549&x=1224',
		'title': '',
		'imageId': '68511549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511558&x=1224',
		'title': '',
		'imageId': '68511558',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511567&x=1224',
		'title': '',
		'imageId': '68511567',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511573&x=1224',
		'title': '',
		'imageId': '68511573',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511575&x=1224',
		'title': '',
		'imageId': '68511575',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511577&x=1224',
		'title': '',
		'imageId': '68511577',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511586&x=1224',
		'title': '',
		'imageId': '68511586',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511589&x=1224',
		'title': '',
		'imageId': '68511589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511592&x=1224',
		'title': '',
		'imageId': '68511592',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511596&x=1224',
		'title': '',
		'imageId': '68511596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511601&x=1224',
		'title': '',
		'imageId': '68511601',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511600&x=1224',
		'title': '',
		'imageId': '68511600',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511604&x=1224',
		'title': '',
		'imageId': '68511604',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511611&x=1224',
		'title': '',
		'imageId': '68511611',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511612&x=1224',
		'title': '',
		'imageId': '68511612',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511583&x=1224',
		'title': '',
		'imageId': '68511583',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511581&x=1224',
		'title': '',
		'imageId': '68511581',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511613&x=1224',
		'title': '',
		'imageId': '68511613',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3947083&docid=68511511&x=1224',
		'title': '',
		'imageId': '68511511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3947083';

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