var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157246&x=4611',
		'title': '',
		'imageId': '69157246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157247&x=4611',
		'title': '',
		'imageId': '69157247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157248&x=4611',
		'title': '',
		'imageId': '69157248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157249&x=4611',
		'title': '',
		'imageId': '69157249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157250&x=4611',
		'title': '',
		'imageId': '69157250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157251&x=4611',
		'title': '',
		'imageId': '69157251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157252&x=4611',
		'title': '',
		'imageId': '69157252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157253&x=4611',
		'title': '',
		'imageId': '69157253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157254&x=4611',
		'title': '',
		'imageId': '69157254',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975436&docid=69157255&x=4611',
		'title': '',
		'imageId': '69157255',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975436';

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