var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454037&x=2011',
		'title': '',
		'imageId': '70454037',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454040&x=2011',
		'title': '',
		'imageId': '70454040',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454038&x=2011',
		'title': '',
		'imageId': '70454038',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454036&x=2011',
		'title': '',
		'imageId': '70454036',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454042&x=2011',
		'title': '',
		'imageId': '70454042',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454039&x=2011',
		'title': '',
		'imageId': '70454039',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454041&x=2011',
		'title': '',
		'imageId': '70454041',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4029963&docid=70454043&x=2011',
		'title': '',
		'imageId': '70454043',
		'alt' : 'Picture',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4029963';

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