var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888720&x=214',
		'title': '',
		'imageId': '65888720',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888721&x=214',
		'title': '',
		'imageId': '65888721',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888722&x=214',
		'title': '',
		'imageId': '65888722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888723&x=214',
		'title': '',
		'imageId': '65888723',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888724&x=214',
		'title': '',
		'imageId': '65888724',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888725&x=214',
		'title': '',
		'imageId': '65888725',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888726&x=214',
		'title': '',
		'imageId': '65888726',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888727&x=214',
		'title': '',
		'imageId': '65888727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888728&x=214',
		'title': '',
		'imageId': '65888728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888781&x=214',
		'title': '',
		'imageId': '65888781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888782&x=214',
		'title': '',
		'imageId': '65888782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3921920&docid=65888783&x=214',
		'title': '',
		'imageId': '65888783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3921920';

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