var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161839&x=298',
		'title': '',
		'imageId': '68161839',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161841&x=298',
		'title': '',
		'imageId': '68161841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161842&x=298',
		'title': '',
		'imageId': '68161842',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161843&x=298',
		'title': '',
		'imageId': '68161843',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161844&x=298',
		'title': '',
		'imageId': '68161844',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161845&x=298',
		'title': '',
		'imageId': '68161845',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161846&x=298',
		'title': '',
		'imageId': '68161846',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161847&x=298',
		'title': '',
		'imageId': '68161847',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161848&x=298',
		'title': '',
		'imageId': '68161848',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161849&x=298',
		'title': '',
		'imageId': '68161849',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161850&x=298',
		'title': '',
		'imageId': '68161850',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161851&x=298',
		'title': '',
		'imageId': '68161851',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161852&x=298',
		'title': '',
		'imageId': '68161852',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161853&x=298',
		'title': '',
		'imageId': '68161853',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161854&x=298',
		'title': '',
		'imageId': '68161854',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161855&x=298',
		'title': '',
		'imageId': '68161855',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161856&x=298',
		'title': '',
		'imageId': '68161856',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161857&x=298',
		'title': '',
		'imageId': '68161857',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161858&x=298',
		'title': '',
		'imageId': '68161858',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161859&x=298',
		'title': '',
		'imageId': '68161859',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161860&x=298',
		'title': '',
		'imageId': '68161860',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3931864&docid=68161861&x=298',
		'title': '',
		'imageId': '68161861',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3931864';

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