var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844369&x=256',
		'title': '',
		'imageId': '69844369',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844371&x=256',
		'title': '',
		'imageId': '69844371',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844370&x=256',
		'title': '',
		'imageId': '69844370',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844372&x=256',
		'title': '',
		'imageId': '69844372',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844373&x=256',
		'title': '',
		'imageId': '69844373',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844376&x=256',
		'title': '',
		'imageId': '69844376',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844381&x=256',
		'title': '',
		'imageId': '69844381',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844382&x=256',
		'title': '',
		'imageId': '69844382',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844386&x=256',
		'title': '',
		'imageId': '69844386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844368&x=256',
		'title': '',
		'imageId': '69844368',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005243&docid=69844388&x=256',
		'title': '',
		'imageId': '69844388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005243';

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