var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913474&x=46',
		'title': '',
		'imageId': '68913474',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913475&x=46',
		'title': '',
		'imageId': '68913475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913484&x=46',
		'title': '',
		'imageId': '68913484',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913486&x=46',
		'title': '',
		'imageId': '68913486',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913487&x=46',
		'title': '',
		'imageId': '68913487',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913492&x=46',
		'title': '',
		'imageId': '68913492',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913493&x=46',
		'title': '',
		'imageId': '68913493',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913498&x=46',
		'title': '',
		'imageId': '68913498',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913452&x=46',
		'title': '',
		'imageId': '68913452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913454&x=46',
		'title': '',
		'imageId': '68913454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913455&x=46',
		'title': '',
		'imageId': '68913455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913456&x=46',
		'title': '',
		'imageId': '68913456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913453&x=46',
		'title': '',
		'imageId': '68913453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913457&x=46',
		'title': '',
		'imageId': '68913457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913460&x=46',
		'title': '',
		'imageId': '68913460',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913467&x=46',
		'title': '',
		'imageId': '68913467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913469&x=46',
		'title': '',
		'imageId': '68913469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913489&x=46',
		'title': '',
		'imageId': '68913489',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913504&x=46',
		'title': '',
		'imageId': '68913504',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913503&x=46',
		'title': '',
		'imageId': '68913503',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913505&x=46',
		'title': '',
		'imageId': '68913505',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913510&x=46',
		'title': '',
		'imageId': '68913510',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913511&x=46',
		'title': '',
		'imageId': '68913511',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913514&x=46',
		'title': '',
		'imageId': '68913514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913517&x=46',
		'title': '',
		'imageId': '68913517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913524&x=46',
		'title': '',
		'imageId': '68913524',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913525&x=46',
		'title': '',
		'imageId': '68913525',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913526&x=46',
		'title': '',
		'imageId': '68913526',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913530&x=46',
		'title': '',
		'imageId': '68913530',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913537&x=46',
		'title': '',
		'imageId': '68913537',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913540&x=46',
		'title': '',
		'imageId': '68913540',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913545&x=46',
		'title': '',
		'imageId': '68913545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913550&x=46',
		'title': '',
		'imageId': '68913550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913551&x=46',
		'title': '',
		'imageId': '68913551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913554&x=46',
		'title': '',
		'imageId': '68913554',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3964288&docid=68913471&x=46',
		'title': '',
		'imageId': '68913471',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3964288';

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