var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575127&x=3124',
		'title': '',
		'imageId': '2575127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575130&x=3124',
		'title': '',
		'imageId': '2575130',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575133&x=3124',
		'title': '',
		'imageId': '2575133',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575136&x=3124',
		'title': '',
		'imageId': '2575136',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575139&x=3124',
		'title': '',
		'imageId': '2575139',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575142&x=3124',
		'title': '',
		'imageId': '2575142',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575145&x=3124',
		'title': '',
		'imageId': '2575145',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575148&x=3124',
		'title': '',
		'imageId': '2575148',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575151&x=3124',
		'title': '',
		'imageId': '2575151',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=472188&docid=2575154&x=3124',
		'title': '',
		'imageId': '2575154',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #472188';

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