var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985226&x=77',
		'title': '',
		'imageId': '68985226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985270&x=77',
		'title': '',
		'imageId': '68985270',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985275&x=77',
		'title': '',
		'imageId': '68985275',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985273&x=77',
		'title': '',
		'imageId': '68985273',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985286&x=77',
		'title': '',
		'imageId': '68985286',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985282&x=77',
		'title': '',
		'imageId': '68985282',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985276&x=77',
		'title': '',
		'imageId': '68985276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985285&x=77',
		'title': '',
		'imageId': '68985285',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68997253&x=77',
		'title': '',
		'imageId': '68997253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68997250&x=77',
		'title': '',
		'imageId': '68997250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985266&x=77',
		'title': '',
		'imageId': '68985266',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985274&x=77',
		'title': '',
		'imageId': '68985274',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985271&x=77',
		'title': '',
		'imageId': '68985271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985287&x=77',
		'title': '',
		'imageId': '68985287',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985230&x=77',
		'title': '',
		'imageId': '68985230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985268&x=77',
		'title': '',
		'imageId': '68985268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985229&x=77',
		'title': '',
		'imageId': '68985229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985227&x=77',
		'title': '',
		'imageId': '68985227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985221&x=77',
		'title': '',
		'imageId': '68985221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985278&x=77',
		'title': '',
		'imageId': '68985278',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985269&x=77',
		'title': '',
		'imageId': '68985269',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3967993&docid=68985283&x=77',
		'title': '',
		'imageId': '68985283',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3967993';

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