var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954453&x=256',
		'title': '',
		'imageId': '69954453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954454&x=256',
		'title': '',
		'imageId': '69954454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954455&x=256',
		'title': '',
		'imageId': '69954455',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954456&x=256',
		'title': '',
		'imageId': '69954456',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954457&x=256',
		'title': '',
		'imageId': '69954457',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954461&x=256',
		'title': '',
		'imageId': '69954461',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954467&x=256',
		'title': '',
		'imageId': '69954467',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954469&x=256',
		'title': '',
		'imageId': '69954469',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954468&x=256',
		'title': '',
		'imageId': '69954468',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954472&x=256',
		'title': '',
		'imageId': '69954472',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954475&x=256',
		'title': '',
		'imageId': '69954475',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009765&docid=69954452&x=256',
		'title': '',
		'imageId': '69954452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009765';

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