var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138470&x=5435',
		'title': '',
		'imageId': '71138470',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138471&x=5435',
		'title': '',
		'imageId': '71138471',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138472&x=5435',
		'title': '',
		'imageId': '71138472',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138456&x=5435',
		'title': '',
		'imageId': '71138456',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138457&x=5435',
		'title': '',
		'imageId': '71138457',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138463&x=5435',
		'title': '',
		'imageId': '71138463',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138460&x=5435',
		'title': '',
		'imageId': '71138460',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138458&x=5435',
		'title': '',
		'imageId': '71138458',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138459&x=5435',
		'title': '',
		'imageId': '71138459',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138461&x=5435',
		'title': '',
		'imageId': '71138461',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138462&x=5435',
		'title': '',
		'imageId': '71138462',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138464&x=5435',
		'title': '',
		'imageId': '71138464',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138465&x=5435',
		'title': '',
		'imageId': '71138465',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138466&x=5435',
		'title': '',
		'imageId': '71138466',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138467&x=5435',
		'title': '',
		'imageId': '71138467',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138469&x=5435',
		'title': '',
		'imageId': '71138469',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138473&x=5435',
		'title': '',
		'imageId': '71138473',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138474&x=5435',
		'title': '',
		'imageId': '71138474',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4055382&docid=71138475&x=5435',
		'title': '',
		'imageId': '71138475',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4055382';

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