var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268674&x=2930',
		'title': '',
		'imageId': '69268674',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268675&x=2930',
		'title': '',
		'imageId': '69268675',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268668&x=2930',
		'title': '',
		'imageId': '69268668',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268666&x=2930',
		'title': '',
		'imageId': '69268666',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268670&x=2930',
		'title': '',
		'imageId': '69268670',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268667&x=2930',
		'title': '',
		'imageId': '69268667',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268672&x=2930',
		'title': '',
		'imageId': '69268672',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268665&x=2930',
		'title': '',
		'imageId': '69268665',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268673&x=2930',
		'title': '',
		'imageId': '69268673',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268664&x=2930',
		'title': '',
		'imageId': '69268664',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268671&x=2930',
		'title': '',
		'imageId': '69268671',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3991324&docid=69268669&x=2930',
		'title': '',
		'imageId': '69268669',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3991324';

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