var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161391&x=1823',
		'title': '',
		'imageId': '69161391',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161385&x=1823',
		'title': '',
		'imageId': '69161385',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161387&x=1823',
		'title': '',
		'imageId': '69161387',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161392&x=1823',
		'title': '',
		'imageId': '69161392',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161386&x=1823',
		'title': '',
		'imageId': '69161386',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161390&x=1823',
		'title': '',
		'imageId': '69161390',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161388&x=1823',
		'title': '',
		'imageId': '69161388',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161389&x=1823',
		'title': '',
		'imageId': '69161389',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161393&x=1823',
		'title': '',
		'imageId': '69161393',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3975257&docid=69161394&x=1823',
		'title': '',
		'imageId': '69161394',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3975257';

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