var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69616127&x=5556',
		'title': '',
		'imageId': '69616127',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69616103&x=5556',
		'title': '',
		'imageId': '69616103',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246678&x=5556',
		'title': '',
		'imageId': '69246678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246672&x=5556',
		'title': '',
		'imageId': '69246672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246676&x=5556',
		'title': '',
		'imageId': '69246676',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246673&x=5556',
		'title': '',
		'imageId': '69246673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246675&x=5556',
		'title': '',
		'imageId': '69246675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246674&x=5556',
		'title': '',
		'imageId': '69246674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246677&x=5556',
		'title': '',
		'imageId': '69246677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4019379&docid=69246670&x=5556',
		'title': '',
		'imageId': '69246670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4019379';

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