var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310733&x=1118',
		'title': '',
		'imageId': '69310733',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310736&x=1118',
		'title': '',
		'imageId': '69310736',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310738&x=1118',
		'title': '',
		'imageId': '69310738',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310739&x=1118',
		'title': '',
		'imageId': '69310739',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310740&x=1118',
		'title': '',
		'imageId': '69310740',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310741&x=1118',
		'title': '',
		'imageId': '69310741',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310742&x=1118',
		'title': '',
		'imageId': '69310742',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310743&x=1118',
		'title': '',
		'imageId': '69310743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310744&x=1118',
		'title': '',
		'imageId': '69310744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3982229&docid=69310745&x=1118',
		'title': '',
		'imageId': '69310745',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3982229';

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