var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162990&x=1717',
		'title': '',
		'imageId': '69162990',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162981&x=1717',
		'title': '',
		'imageId': '69162981',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162991&x=1717',
		'title': '',
		'imageId': '69162991',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162982&x=1717',
		'title': '',
		'imageId': '69162982',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162987&x=1717',
		'title': '',
		'imageId': '69162987',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162989&x=1717',
		'title': '',
		'imageId': '69162989',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162985&x=1717',
		'title': '',
		'imageId': '69162985',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162988&x=1717',
		'title': '',
		'imageId': '69162988',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162983&x=1717',
		'title': '',
		'imageId': '69162983',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162986&x=1717',
		'title': '',
		'imageId': '69162986',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975560&docid=69162984&x=1717',
		'title': '',
		'imageId': '69162984',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975560';

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