var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206466&x=5331',
		'title': '',
		'imageId': '71206466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206468&x=5331',
		'title': '',
		'imageId': '71206468',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206469&x=5331',
		'title': '',
		'imageId': '71206469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206470&x=5331',
		'title': '',
		'imageId': '71206470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206471&x=5331',
		'title': '',
		'imageId': '71206471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206472&x=5331',
		'title': '',
		'imageId': '71206472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206473&x=5331',
		'title': '',
		'imageId': '71206473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206476&x=5331',
		'title': '',
		'imageId': '71206476',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206475&x=5331',
		'title': '',
		'imageId': '71206475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206452&x=5331',
		'title': '',
		'imageId': '71206452',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206453&x=5331',
		'title': '',
		'imageId': '71206453',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206455&x=5331',
		'title': '',
		'imageId': '71206455',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206456&x=5331',
		'title': '',
		'imageId': '71206456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206457&x=5331',
		'title': '',
		'imageId': '71206457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206458&x=5331',
		'title': '',
		'imageId': '71206458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206459&x=5331',
		'title': '',
		'imageId': '71206459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206464&x=5331',
		'title': '',
		'imageId': '71206464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206465&x=5331',
		'title': '',
		'imageId': '71206465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206461&x=5331',
		'title': '',
		'imageId': '71206461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4058279&docid=71206463&x=5331',
		'title': '',
		'imageId': '71206463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4058279';

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