var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132769&x=499',
		'title': '',
		'imageId': '69132769',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132767&x=499',
		'title': '',
		'imageId': '69132767',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132771&x=499',
		'title': '',
		'imageId': '69132771',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132959&x=499',
		'title': '',
		'imageId': '69132959',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132958&x=499',
		'title': '',
		'imageId': '69132958',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132960&x=499',
		'title': '',
		'imageId': '69132960',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132766&x=499',
		'title': '',
		'imageId': '69132766',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132768&x=499',
		'title': '',
		'imageId': '69132768',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132772&x=499',
		'title': '',
		'imageId': '69132772',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132773&x=499',
		'title': '',
		'imageId': '69132773',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974374&docid=69132957&x=499',
		'title': '',
		'imageId': '69132957',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974374';

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