var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845440&x=841',
		'title': '',
		'imageId': '70845440',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845447&x=841',
		'title': '',
		'imageId': '70845447',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845452&x=841',
		'title': '',
		'imageId': '70845452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845453&x=841',
		'title': '',
		'imageId': '70845453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845455&x=841',
		'title': '',
		'imageId': '70845455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845472&x=841',
		'title': '',
		'imageId': '70845472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845475&x=841',
		'title': '',
		'imageId': '70845475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845482&x=841',
		'title': '',
		'imageId': '70845482',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845484&x=841',
		'title': '',
		'imageId': '70845484',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845487&x=841',
		'title': '',
		'imageId': '70845487',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044146&docid=70845490&x=841',
		'title': '',
		'imageId': '70845490',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044146';

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