var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016037&x=739',
		'title': '',
		'imageId': '69016037',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016039&x=739',
		'title': '',
		'imageId': '69016039',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016040&x=739',
		'title': '',
		'imageId': '69016040',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016041&x=739',
		'title': '',
		'imageId': '69016041',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016042&x=739',
		'title': '',
		'imageId': '69016042',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016045&x=739',
		'title': '',
		'imageId': '69016045',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016048&x=739',
		'title': '',
		'imageId': '69016048',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016054&x=739',
		'title': '',
		'imageId': '69016054',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016060&x=739',
		'title': '',
		'imageId': '69016060',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969922&docid=69016038&x=739',
		'title': '',
		'imageId': '69016038',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969922';

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