var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135514&x=4045',
		'title': '',
		'imageId': '69135514',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135515&x=4045',
		'title': '',
		'imageId': '69135515',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135516&x=4045',
		'title': '',
		'imageId': '69135516',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135517&x=4045',
		'title': '',
		'imageId': '69135517',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135518&x=4045',
		'title': '',
		'imageId': '69135518',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135552&x=4045',
		'title': '',
		'imageId': '69135552',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135589&x=4045',
		'title': '',
		'imageId': '69135589',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135596&x=4045',
		'title': '',
		'imageId': '69135596',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135608&x=4045',
		'title': '',
		'imageId': '69135608',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135628&x=4045',
		'title': '',
		'imageId': '69135628',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3974594&docid=69135639&x=4045',
		'title': '',
		'imageId': '69135639',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3974594';

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