var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912800&x=4114',
		'title': '',
		'imageId': '69912800',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912817&x=4114',
		'title': '',
		'imageId': '69912817',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912819&x=4114',
		'title': '',
		'imageId': '69912819',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912802&x=4114',
		'title': '',
		'imageId': '69912802',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912801&x=4114',
		'title': '',
		'imageId': '69912801',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912785&x=4114',
		'title': '',
		'imageId': '69912785',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912783&x=4114',
		'title': '',
		'imageId': '69912783',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912784&x=4114',
		'title': '',
		'imageId': '69912784',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912786&x=4114',
		'title': '',
		'imageId': '69912786',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912799&x=4114',
		'title': '',
		'imageId': '69912799',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912803&x=4114',
		'title': '',
		'imageId': '69912803',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912804&x=4114',
		'title': '',
		'imageId': '69912804',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912818&x=4114',
		'title': '',
		'imageId': '69912818',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912820&x=4114',
		'title': '',
		'imageId': '69912820',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912782&x=4114',
		'title': '',
		'imageId': '69912782',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4008121&docid=69912781&x=4114',
		'title': '',
		'imageId': '69912781',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4008121';

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