var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743968&x=386',
		'title': '',
		'imageId': '69743968',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743973&x=386',
		'title': '',
		'imageId': '69743973',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743975&x=386',
		'title': '',
		'imageId': '69743975',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743978&x=386',
		'title': '',
		'imageId': '69743978',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743979&x=386',
		'title': '',
		'imageId': '69743979',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743976&x=386',
		'title': '',
		'imageId': '69743976',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743972&x=386',
		'title': '',
		'imageId': '69743972',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743974&x=386',
		'title': '',
		'imageId': '69743974',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743977&x=386',
		'title': '',
		'imageId': '69743977',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743969&x=386',
		'title': '',
		'imageId': '69743969',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001222&docid=69743967&x=386',
		'title': '',
		'imageId': '69743967',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001222';

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