var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098728&x=419',
		'title': '',
		'imageId': '69098728',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098734&x=419',
		'title': '',
		'imageId': '69098734',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098729&x=419',
		'title': '',
		'imageId': '69098729',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098737&x=419',
		'title': '',
		'imageId': '69098737',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098709&x=419',
		'title': '',
		'imageId': '69098709',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098719&x=419',
		'title': '',
		'imageId': '69098719',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098697&x=419',
		'title': '',
		'imageId': '69098697',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098693&x=419',
		'title': '',
		'imageId': '69098693',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098702&x=419',
		'title': '',
		'imageId': '69098702',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098718&x=419',
		'title': '',
		'imageId': '69098718',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098698&x=419',
		'title': '',
		'imageId': '69098698',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098710&x=419',
		'title': '',
		'imageId': '69098710',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098722&x=419',
		'title': '',
		'imageId': '69098722',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098678&x=419',
		'title': '',
		'imageId': '69098678',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098677&x=419',
		'title': '',
		'imageId': '69098677',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098679&x=419',
		'title': '',
		'imageId': '69098679',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098681&x=419',
		'title': '',
		'imageId': '69098681',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098680&x=419',
		'title': '',
		'imageId': '69098680',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098690&x=419',
		'title': '',
		'imageId': '69098690',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098711&x=419',
		'title': '',
		'imageId': '69098711',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098699&x=419',
		'title': '',
		'imageId': '69098699',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098727&x=419',
		'title': '',
		'imageId': '69098727',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098743&x=419',
		'title': '',
		'imageId': '69098743',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3973132&docid=69098744&x=419',
		'title': '',
		'imageId': '69098744',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3973132';

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