var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961105&x=1135',
		'title': '',
		'imageId': '70961105',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961104&x=1135',
		'title': '',
		'imageId': '70961104',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961107&x=1135',
		'title': '',
		'imageId': '70961107',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961108&x=1135',
		'title': '',
		'imageId': '70961108',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961106&x=1135',
		'title': '',
		'imageId': '70961106',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961111&x=1135',
		'title': '',
		'imageId': '70961111',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961114&x=1135',
		'title': '',
		'imageId': '70961114',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961118&x=1135',
		'title': '',
		'imageId': '70961118',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961124&x=1135',
		'title': '',
		'imageId': '70961124',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961125&x=1135',
		'title': '',
		'imageId': '70961125',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961132&x=1135',
		'title': '',
		'imageId': '70961132',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961126&x=1135',
		'title': '',
		'imageId': '70961126',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961129&x=1135',
		'title': '',
		'imageId': '70961129',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961137&x=1135',
		'title': '',
		'imageId': '70961137',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961138&x=1135',
		'title': '',
		'imageId': '70961138',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961143&x=1135',
		'title': '',
		'imageId': '70961143',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961149&x=1135',
		'title': '',
		'imageId': '70961149',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961150&x=1135',
		'title': '',
		'imageId': '70961150',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4048844&docid=70961103&x=1135',
		'title': '',
		'imageId': '70961103',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4048844';

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