var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996893&x=229',
		'title': '',
		'imageId': '67996893',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996890&x=229',
		'title': '',
		'imageId': '67996890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996896&x=229',
		'title': '',
		'imageId': '67996896',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996894&x=229',
		'title': '',
		'imageId': '67996894',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996889&x=229',
		'title': '',
		'imageId': '67996889',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996887&x=229',
		'title': '',
		'imageId': '67996887',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996897&x=229',
		'title': '',
		'imageId': '67996897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996898&x=229',
		'title': '',
		'imageId': '67996898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996891&x=229',
		'title': '',
		'imageId': '67996891',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996883&x=229',
		'title': '',
		'imageId': '67996883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996885&x=229',
		'title': '',
		'imageId': '67996885',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996888&x=229',
		'title': '',
		'imageId': '67996888',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996895&x=229',
		'title': '',
		'imageId': '67996895',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996882&x=229',
		'title': '',
		'imageId': '67996882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3909195&docid=67996884&x=229',
		'title': '',
		'imageId': '67996884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3909195';

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