var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776709&x=819',
		'title': '',
		'imageId': '69776709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776715&x=819',
		'title': '',
		'imageId': '69776715',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776712&x=819',
		'title': '',
		'imageId': '69776712',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776713&x=819',
		'title': '',
		'imageId': '69776713',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776716&x=819',
		'title': '',
		'imageId': '69776716',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776719&x=819',
		'title': '',
		'imageId': '69776719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776722&x=819',
		'title': '',
		'imageId': '69776722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776724&x=819',
		'title': '',
		'imageId': '69776724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776725&x=819',
		'title': '',
		'imageId': '69776725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776726&x=819',
		'title': '',
		'imageId': '69776726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4035412&docid=69776727&x=819',
		'title': '',
		'imageId': '69776727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4035412';

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