var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157221&x=466',
		'title': '',
		'imageId': '69157221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157223&x=466',
		'title': '',
		'imageId': '69157223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157224&x=466',
		'title': '',
		'imageId': '69157224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157225&x=466',
		'title': '',
		'imageId': '69157225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157226&x=466',
		'title': '',
		'imageId': '69157226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157227&x=466',
		'title': '',
		'imageId': '69157227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157228&x=466',
		'title': '',
		'imageId': '69157228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157229&x=466',
		'title': '',
		'imageId': '69157229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157230&x=466',
		'title': '',
		'imageId': '69157230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157231&x=466',
		'title': '',
		'imageId': '69157231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157232&x=466',
		'title': '',
		'imageId': '69157232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975434&docid=69157233&x=466',
		'title': '',
		'imageId': '69157233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975434';

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