var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953906&x=486',
		'title': '',
		'imageId': '71953906',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953931&x=486',
		'title': '',
		'imageId': '71953931',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953868&x=486',
		'title': '',
		'imageId': '71953868',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953870&x=486',
		'title': '',
		'imageId': '71953870',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953871&x=486',
		'title': '',
		'imageId': '71953871',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953867&x=486',
		'title': '',
		'imageId': '71953867',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953888&x=486',
		'title': '',
		'imageId': '71953888',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953890&x=486',
		'title': '',
		'imageId': '71953890',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953892&x=486',
		'title': '',
		'imageId': '71953892',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953902&x=486',
		'title': '',
		'imageId': '71953902',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953905&x=486',
		'title': '',
		'imageId': '71953905',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953901&x=486',
		'title': '',
		'imageId': '71953901',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953903&x=486',
		'title': '',
		'imageId': '71953903',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953904&x=486',
		'title': '',
		'imageId': '71953904',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953927&x=486',
		'title': '',
		'imageId': '71953927',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953929&x=486',
		'title': '',
		'imageId': '71953929',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953932&x=486',
		'title': '',
		'imageId': '71953932',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953869&x=486',
		'title': '',
		'imageId': '71953869',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4090392&docid=71953865&x=486',
		'title': '',
		'imageId': '71953865',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4090392';

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