var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843811&x=3852',
		'title': '',
		'imageId': '69843811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843804&x=3852',
		'title': '',
		'imageId': '69843804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843809&x=3852',
		'title': '',
		'imageId': '69843809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843806&x=3852',
		'title': '',
		'imageId': '69843806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843813&x=3852',
		'title': '',
		'imageId': '69843813',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843814&x=3852',
		'title': '',
		'imageId': '69843814',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843805&x=3852',
		'title': '',
		'imageId': '69843805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843808&x=3852',
		'title': '',
		'imageId': '69843808',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843810&x=3852',
		'title': '',
		'imageId': '69843810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843812&x=3852',
		'title': '',
		'imageId': '69843812',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005210&docid=69843807&x=3852',
		'title': '',
		'imageId': '69843807',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005210';

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