var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133655&x=3114',
		'title': '',
		'imageId': '69133655',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133660&x=3114',
		'title': '',
		'imageId': '69133660',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133653&x=3114',
		'title': '',
		'imageId': '69133653',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133659&x=3114',
		'title': '',
		'imageId': '69133659',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133649&x=3114',
		'title': '',
		'imageId': '69133649',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133657&x=3114',
		'title': '',
		'imageId': '69133657',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133656&x=3114',
		'title': '',
		'imageId': '69133656',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133658&x=3114',
		'title': '',
		'imageId': '69133658',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133648&x=3114',
		'title': '',
		'imageId': '69133648',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974379&docid=69133650&x=3114',
		'title': '',
		'imageId': '69133650',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974379';

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