var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310746&x=436',
		'title': '',
		'imageId': '69310746',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310749&x=436',
		'title': '',
		'imageId': '69310749',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310752&x=436',
		'title': '',
		'imageId': '69310752',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310753&x=436',
		'title': '',
		'imageId': '69310753',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310754&x=436',
		'title': '',
		'imageId': '69310754',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310755&x=436',
		'title': '',
		'imageId': '69310755',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310756&x=436',
		'title': '',
		'imageId': '69310756',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310757&x=436',
		'title': '',
		'imageId': '69310757',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310758&x=436',
		'title': '',
		'imageId': '69310758',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310759&x=436',
		'title': '',
		'imageId': '69310759',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310760&x=436',
		'title': '',
		'imageId': '69310760',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982230&docid=69310761&x=436',
		'title': '',
		'imageId': '69310761',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982230';

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