var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076317&x=226',
		'title': '',
		'imageId': '69076317',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076311&x=226',
		'title': '',
		'imageId': '69076311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076306&x=226',
		'title': '',
		'imageId': '69076306',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076318&x=226',
		'title': '',
		'imageId': '69076318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076310&x=226',
		'title': '',
		'imageId': '69076310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076319&x=226',
		'title': '',
		'imageId': '69076319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076307&x=226',
		'title': '',
		'imageId': '69076307',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076314&x=226',
		'title': '',
		'imageId': '69076314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076316&x=226',
		'title': '',
		'imageId': '69076316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076315&x=226',
		'title': '',
		'imageId': '69076315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076313&x=226',
		'title': '',
		'imageId': '69076313',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3972241&docid=69076309&x=226',
		'title': '',
		'imageId': '69076309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3972241';

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