var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603008&x=3143',
		'title': '',
		'imageId': '2603008',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603011&x=3143',
		'title': '',
		'imageId': '2603011',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603014&x=3143',
		'title': '',
		'imageId': '2603014',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603017&x=3143',
		'title': '',
		'imageId': '2603017',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603020&x=3143',
		'title': '',
		'imageId': '2603020',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603023&x=3143',
		'title': '',
		'imageId': '2603023',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=476444&docid=2603026&x=3143',
		'title': '',
		'imageId': '2603026',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #476444';

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