var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163121&x=3017',
		'title': '',
		'imageId': '70163121',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163117&x=3017',
		'title': '',
		'imageId': '70163117',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163119&x=3017',
		'title': '',
		'imageId': '70163119',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163127&x=3017',
		'title': '',
		'imageId': '70163127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163118&x=3017',
		'title': '',
		'imageId': '70163118',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163120&x=3017',
		'title': '',
		'imageId': '70163120',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163124&x=3017',
		'title': '',
		'imageId': '70163124',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163126&x=3017',
		'title': '',
		'imageId': '70163126',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163125&x=3017',
		'title': '',
		'imageId': '70163125',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163128&x=3017',
		'title': '',
		'imageId': '70163128',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163123&x=3017',
		'title': '',
		'imageId': '70163123',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4017196&docid=70163122&x=3017',
		'title': '',
		'imageId': '70163122',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4017196';

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