var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147315&x=612',
		'title': '',
		'imageId': '69147315',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147316&x=612',
		'title': '',
		'imageId': '69147316',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147311&x=612',
		'title': '',
		'imageId': '69147311',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147314&x=612',
		'title': '',
		'imageId': '69147314',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147309&x=612',
		'title': '',
		'imageId': '69147309',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147318&x=612',
		'title': '',
		'imageId': '69147318',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147323&x=612',
		'title': '',
		'imageId': '69147323',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147322&x=612',
		'title': '',
		'imageId': '69147322',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147319&x=612',
		'title': '',
		'imageId': '69147319',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147312&x=612',
		'title': '',
		'imageId': '69147312',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147310&x=612',
		'title': '',
		'imageId': '69147310',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975055&docid=69147308&x=612',
		'title': '',
		'imageId': '69147308',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975055';

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