var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045633&x=116',
		'title': '',
		'imageId': '69045633',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045635&x=116',
		'title': '',
		'imageId': '69045635',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045632&x=116',
		'title': '',
		'imageId': '69045632',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045638&x=116',
		'title': '',
		'imageId': '69045638',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045630&x=116',
		'title': '',
		'imageId': '69045630',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045629&x=116',
		'title': '',
		'imageId': '69045629',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045636&x=116',
		'title': '',
		'imageId': '69045636',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045637&x=116',
		'title': '',
		'imageId': '69045637',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045631&x=116',
		'title': '',
		'imageId': '69045631',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045634&x=116',
		'title': '',
		'imageId': '69045634',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045628&x=116',
		'title': '',
		'imageId': '69045628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3971201&docid=69045627&x=116',
		'title': '',
		'imageId': '69045627',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3971201';

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