var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304649&x=2611',
		'title': '',
		'imageId': '69304649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304650&x=2611',
		'title': '',
		'imageId': '69304650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304651&x=2611',
		'title': '',
		'imageId': '69304651',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304652&x=2611',
		'title': '',
		'imageId': '69304652',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304653&x=2611',
		'title': '',
		'imageId': '69304653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304654&x=2611',
		'title': '',
		'imageId': '69304654',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304655&x=2611',
		'title': '',
		'imageId': '69304655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304656&x=2611',
		'title': '',
		'imageId': '69304656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304657&x=2611',
		'title': '',
		'imageId': '69304657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69304658&x=2611',
		'title': '',
		'imageId': '69304658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69331050&x=2611',
		'title': '',
		'imageId': '69331050',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3986908&docid=69331051&x=2611',
		'title': '',
		'imageId': '69331051',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3986908';

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