var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641783&x=1744',
		'title': '',
		'imageId': '67641783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641780&x=1744',
		'title': '',
		'imageId': '67641780',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641781&x=1744',
		'title': '',
		'imageId': '67641781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641782&x=1744',
		'title': '',
		'imageId': '67641782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641805&x=1744',
		'title': '',
		'imageId': '67641805',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641803&x=1744',
		'title': '',
		'imageId': '67641803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641806&x=1744',
		'title': '',
		'imageId': '67641806',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641802&x=1744',
		'title': '',
		'imageId': '67641802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641804&x=1744',
		'title': '',
		'imageId': '67641804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3910059&docid=67641801&x=1744',
		'title': '',
		'imageId': '67641801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3910059';

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