var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740992&x=568',
		'title': '',
		'imageId': '69740992',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740988&x=568',
		'title': '',
		'imageId': '69740988',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740982&x=568',
		'title': '',
		'imageId': '69740982',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740983&x=568',
		'title': '',
		'imageId': '69740983',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740986&x=568',
		'title': '',
		'imageId': '69740986',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740985&x=568',
		'title': '',
		'imageId': '69740985',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740991&x=568',
		'title': '',
		'imageId': '69740991',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740987&x=568',
		'title': '',
		'imageId': '69740987',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740990&x=568',
		'title': '',
		'imageId': '69740990',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740993&x=568',
		'title': '',
		'imageId': '69740993',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740984&x=568',
		'title': '',
		'imageId': '69740984',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001048&docid=69740989&x=568',
		'title': '',
		'imageId': '69740989',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001048';

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