var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657232&x=4938',
		'title': '',
		'imageId': '69657232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657249&x=4938',
		'title': '',
		'imageId': '69657249',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657250&x=4938',
		'title': '',
		'imageId': '69657250',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657230&x=4938',
		'title': '',
		'imageId': '69657230',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657234&x=4938',
		'title': '',
		'imageId': '69657234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657231&x=4938',
		'title': '',
		'imageId': '69657231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657244&x=4938',
		'title': '',
		'imageId': '69657244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657237&x=4938',
		'title': '',
		'imageId': '69657237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657245&x=4938',
		'title': '',
		'imageId': '69657245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657235&x=4938',
		'title': '',
		'imageId': '69657235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657241&x=4938',
		'title': '',
		'imageId': '69657241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657243&x=4938',
		'title': '',
		'imageId': '69657243',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657242&x=4938',
		'title': '',
		'imageId': '69657242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657247&x=4938',
		'title': '',
		'imageId': '69657247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657248&x=4938',
		'title': '',
		'imageId': '69657248',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657239&x=4938',
		'title': '',
		'imageId': '69657239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657236&x=4938',
		'title': '',
		'imageId': '69657236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657233&x=4938',
		'title': '',
		'imageId': '69657233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657240&x=4938',
		'title': '',
		'imageId': '69657240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657251&x=4938',
		'title': '',
		'imageId': '69657251',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657238&x=4938',
		'title': '',
		'imageId': '69657238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3997851&docid=69657246&x=4938',
		'title': '',
		'imageId': '69657246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3997851';

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