var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845820&x=648',
		'title': '',
		'imageId': '70845820',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845821&x=648',
		'title': '',
		'imageId': '70845821',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845822&x=648',
		'title': '',
		'imageId': '70845822',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845823&x=648',
		'title': '',
		'imageId': '70845823',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845831&x=648',
		'title': '',
		'imageId': '70845831',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845832&x=648',
		'title': '',
		'imageId': '70845832',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845835&x=648',
		'title': '',
		'imageId': '70845835',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845836&x=648',
		'title': '',
		'imageId': '70845836',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845841&x=648',
		'title': '',
		'imageId': '70845841',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845846&x=648',
		'title': '',
		'imageId': '70845846',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845850&x=648',
		'title': '',
		'imageId': '70845850',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845861&x=648',
		'title': '',
		'imageId': '70845861',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845853&x=648',
		'title': '',
		'imageId': '70845853',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845849&x=648',
		'title': '',
		'imageId': '70845849',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845856&x=648',
		'title': '',
		'imageId': '70845856',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845819&x=648',
		'title': '',
		'imageId': '70845819',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4044214&docid=70845818&x=648',
		'title': '',
		'imageId': '70845818',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4044214';

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