var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544201&x=132',
		'title': '',
		'imageId': '68544201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544193&x=132',
		'title': '',
		'imageId': '68544193',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544196&x=132',
		'title': '',
		'imageId': '68544196',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544184&x=132',
		'title': '',
		'imageId': '68544184',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544186&x=132',
		'title': '',
		'imageId': '68544186',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544194&x=132',
		'title': '',
		'imageId': '68544194',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544187&x=132',
		'title': '',
		'imageId': '68544187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544197&x=132',
		'title': '',
		'imageId': '68544197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544199&x=132',
		'title': '',
		'imageId': '68544199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544189&x=132',
		'title': '',
		'imageId': '68544189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544190&x=132',
		'title': '',
		'imageId': '68544190',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544188&x=132',
		'title': '',
		'imageId': '68544188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544195&x=132',
		'title': '',
		'imageId': '68544195',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544204&x=132',
		'title': '',
		'imageId': '68544204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544202&x=132',
		'title': '',
		'imageId': '68544202',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544200&x=132',
		'title': '',
		'imageId': '68544200',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544205&x=132',
		'title': '',
		'imageId': '68544205',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544183&x=132',
		'title': '',
		'imageId': '68544183',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544191&x=132',
		'title': '',
		'imageId': '68544191',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544185&x=132',
		'title': '',
		'imageId': '68544185',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544192&x=132',
		'title': '',
		'imageId': '68544192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3948180&docid=68544290&x=132',
		'title': '',
		'imageId': '68544290',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3948180';

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