var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010818&x=049',
		'title': '',
		'imageId': '69010818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010820&x=049',
		'title': '',
		'imageId': '69010820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010819&x=049',
		'title': '',
		'imageId': '69010819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010821&x=049',
		'title': '',
		'imageId': '69010821',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010822&x=049',
		'title': '',
		'imageId': '69010822',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010823&x=049',
		'title': '',
		'imageId': '69010823',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010835&x=049',
		'title': '',
		'imageId': '69010835',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010829&x=049',
		'title': '',
		'imageId': '69010829',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010831&x=049',
		'title': '',
		'imageId': '69010831',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010836&x=049',
		'title': '',
		'imageId': '69010836',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3969521&docid=69010841&x=049',
		'title': '',
		'imageId': '69010841',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3969521';

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