var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668224&x=2853',
		'title': '',
		'imageId': '69668224',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668223&x=2853',
		'title': '',
		'imageId': '69668223',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668225&x=2853',
		'title': '',
		'imageId': '69668225',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668226&x=2853',
		'title': '',
		'imageId': '69668226',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668234&x=2853',
		'title': '',
		'imageId': '69668234',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668235&x=2853',
		'title': '',
		'imageId': '69668235',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668245&x=2853',
		'title': '',
		'imageId': '69668245',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668244&x=2853',
		'title': '',
		'imageId': '69668244',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668246&x=2853',
		'title': '',
		'imageId': '69668246',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668247&x=2853',
		'title': '',
		'imageId': '69668247',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668252&x=2853',
		'title': '',
		'imageId': '69668252',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668253&x=2853',
		'title': '',
		'imageId': '69668253',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668257&x=2853',
		'title': '',
		'imageId': '69668257',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668263&x=2853',
		'title': '',
		'imageId': '69668263',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668261&x=2853',
		'title': '',
		'imageId': '69668261',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668265&x=2853',
		'title': '',
		'imageId': '69668265',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668268&x=2853',
		'title': '',
		'imageId': '69668268',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668271&x=2853',
		'title': '',
		'imageId': '69668271',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668277&x=2853',
		'title': '',
		'imageId': '69668277',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668276&x=2853',
		'title': '',
		'imageId': '69668276',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668222&x=2853',
		'title': '',
		'imageId': '69668222',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=3998645&docid=69668221&x=2853',
		'title': '',
		'imageId': '69668221',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #3998645';

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