var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819208&x=656',
		'title': '',
		'imageId': '68819208',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819207&x=656',
		'title': '',
		'imageId': '68819207',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819210&x=656',
		'title': '',
		'imageId': '68819210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819209&x=656',
		'title': '',
		'imageId': '68819209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819212&x=656',
		'title': '',
		'imageId': '68819212',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819211&x=656',
		'title': '',
		'imageId': '68819211',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819218&x=656',
		'title': '',
		'imageId': '68819218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819214&x=656',
		'title': '',
		'imageId': '68819214',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819215&x=656',
		'title': '',
		'imageId': '68819215',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819216&x=656',
		'title': '',
		'imageId': '68819216',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819213&x=656',
		'title': '',
		'imageId': '68819213',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3959897&docid=68819217&x=656',
		'title': '',
		'imageId': '68819217',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3959897';

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