var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69663811&x=3716',
		'title': '',
		'imageId': '69663811',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69663810&x=3716',
		'title': '',
		'imageId': '69663810',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69663809&x=3716',
		'title': '',
		'imageId': '69663809',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715563&x=3716',
		'title': '',
		'imageId': '69715563',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715564&x=3716',
		'title': '',
		'imageId': '69715564',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715578&x=3716',
		'title': '',
		'imageId': '69715578',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715579&x=3716',
		'title': '',
		'imageId': '69715579',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715588&x=3716',
		'title': '',
		'imageId': '69715588',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715590&x=3716',
		'title': '',
		'imageId': '69715590',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69715783&x=3716',
		'title': '',
		'imageId': '69715783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998341&docid=69942714&x=3716',
		'title': '',
		'imageId': '69942714',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998341';

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