var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826813&x=916',
		'title': '',
		'imageId': '69826813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826814&x=916',
		'title': '',
		'imageId': '69826814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826815&x=916',
		'title': '',
		'imageId': '69826815',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826816&x=916',
		'title': '',
		'imageId': '69826816',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826817&x=916',
		'title': '',
		'imageId': '69826817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826818&x=916',
		'title': '',
		'imageId': '69826818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826819&x=916',
		'title': '',
		'imageId': '69826819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826820&x=916',
		'title': '',
		'imageId': '69826820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826821&x=916',
		'title': '',
		'imageId': '69826821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826822&x=916',
		'title': '',
		'imageId': '69826822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826823&x=916',
		'title': '',
		'imageId': '69826823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826824&x=916',
		'title': '',
		'imageId': '69826824',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826825&x=916',
		'title': '',
		'imageId': '69826825',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826826&x=916',
		'title': '',
		'imageId': '69826826',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826827&x=916',
		'title': '',
		'imageId': '69826827',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4004635&docid=69826828&x=916',
		'title': '',
		'imageId': '69826828',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4004635';

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