var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718223&x=839',
		'title': '',
		'imageId': '67718223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718239&x=839',
		'title': '',
		'imageId': '67718239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718231&x=839',
		'title': '',
		'imageId': '67718231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718227&x=839',
		'title': '',
		'imageId': '67718227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718234&x=839',
		'title': '',
		'imageId': '67718234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718237&x=839',
		'title': '',
		'imageId': '67718237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718236&x=839',
		'title': '',
		'imageId': '67718236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718241&x=839',
		'title': '',
		'imageId': '67718241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718235&x=839',
		'title': '',
		'imageId': '67718235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718247&x=839',
		'title': '',
		'imageId': '67718247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718244&x=839',
		'title': '',
		'imageId': '67718244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718238&x=839',
		'title': '',
		'imageId': '67718238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718248&x=839',
		'title': '',
		'imageId': '67718248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718226&x=839',
		'title': '',
		'imageId': '67718226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718243&x=839',
		'title': '',
		'imageId': '67718243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718225&x=839',
		'title': '',
		'imageId': '67718225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718224&x=839',
		'title': '',
		'imageId': '67718224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718230&x=839',
		'title': '',
		'imageId': '67718230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718229&x=839',
		'title': '',
		'imageId': '67718229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718222&x=839',
		'title': '',
		'imageId': '67718222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718228&x=839',
		'title': '',
		'imageId': '67718228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718232&x=839',
		'title': '',
		'imageId': '67718232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3913230&docid=67718233&x=839',
		'title': '',
		'imageId': '67718233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3913230';

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