var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154683&x=114',
		'title': '',
		'imageId': '69154683',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154666&x=114',
		'title': '',
		'imageId': '69154666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154682&x=114',
		'title': '',
		'imageId': '69154682',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154684&x=114',
		'title': '',
		'imageId': '69154684',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154689&x=114',
		'title': '',
		'imageId': '69154689',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154690&x=114',
		'title': '',
		'imageId': '69154690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154688&x=114',
		'title': '',
		'imageId': '69154688',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154687&x=114',
		'title': '',
		'imageId': '69154687',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154685&x=114',
		'title': '',
		'imageId': '69154685',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154691&x=114',
		'title': '',
		'imageId': '69154691',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975345&docid=69154686&x=114',
		'title': '',
		'imageId': '69154686',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975345';

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