var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=68282713&x=3313',
		'title': '',
		'imageId': '68282713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=66677168&x=3313',
		'title': '',
		'imageId': '66677168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=66677167&x=3313',
		'title': '',
		'imageId': '66677167',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=66677171&x=3313',
		'title': '',
		'imageId': '66677171',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=68282712&x=3313',
		'title': '',
		'imageId': '68282712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=66677170&x=3313',
		'title': '',
		'imageId': '66677170',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=68282716&x=3313',
		'title': '',
		'imageId': '68282716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=66677169&x=3313',
		'title': '',
		'imageId': '66677169',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=68282714&x=3313',
		'title': '',
		'imageId': '68282714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3940192&docid=68282715&x=3313',
		'title': '',
		'imageId': '68282715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3940192';

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