var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499238&x=3759',
		'title': '',
		'imageId': '68499238',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499236&x=3759',
		'title': '',
		'imageId': '68499236',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499229&x=3759',
		'title': '',
		'imageId': '68499229',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499223&x=3759',
		'title': '',
		'imageId': '68499223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499232&x=3759',
		'title': '',
		'imageId': '68499232',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499239&x=3759',
		'title': '',
		'imageId': '68499239',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499242&x=3759',
		'title': '',
		'imageId': '68499242',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499237&x=3759',
		'title': '',
		'imageId': '68499237',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499235&x=3759',
		'title': '',
		'imageId': '68499235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499240&x=3759',
		'title': '',
		'imageId': '68499240',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499234&x=3759',
		'title': '',
		'imageId': '68499234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499241&x=3759',
		'title': '',
		'imageId': '68499241',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499218&x=3759',
		'title': '',
		'imageId': '68499218',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499221&x=3759',
		'title': '',
		'imageId': '68499221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499224&x=3759',
		'title': '',
		'imageId': '68499224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499226&x=3759',
		'title': '',
		'imageId': '68499226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499231&x=3759',
		'title': '',
		'imageId': '68499231',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499227&x=3759',
		'title': '',
		'imageId': '68499227',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499228&x=3759',
		'title': '',
		'imageId': '68499228',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499233&x=3759',
		'title': '',
		'imageId': '68499233',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499219&x=3759',
		'title': '',
		'imageId': '68499219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499220&x=3759',
		'title': '',
		'imageId': '68499220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499222&x=3759',
		'title': '',
		'imageId': '68499222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3946670&docid=68499225&x=3759',
		'title': '',
		'imageId': '68499225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3946670';

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