var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984201&x=106',
		'title': '',
		'imageId': '69984201',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984204&x=106',
		'title': '',
		'imageId': '69984204',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984210&x=106',
		'title': '',
		'imageId': '69984210',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984209&x=106',
		'title': '',
		'imageId': '69984209',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984219&x=106',
		'title': '',
		'imageId': '69984219',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984161&x=106',
		'title': '',
		'imageId': '69984161',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984160&x=106',
		'title': '',
		'imageId': '69984160',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984162&x=106',
		'title': '',
		'imageId': '69984162',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984168&x=106',
		'title': '',
		'imageId': '69984168',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984163&x=106',
		'title': '',
		'imageId': '69984163',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984165&x=106',
		'title': '',
		'imageId': '69984165',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984164&x=106',
		'title': '',
		'imageId': '69984164',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984176&x=106',
		'title': '',
		'imageId': '69984176',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984177&x=106',
		'title': '',
		'imageId': '69984177',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984180&x=106',
		'title': '',
		'imageId': '69984180',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984187&x=106',
		'title': '',
		'imageId': '69984187',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984192&x=106',
		'title': '',
		'imageId': '69984192',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984197&x=106',
		'title': '',
		'imageId': '69984197',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984188&x=106',
		'title': '',
		'imageId': '69984188',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984189&x=106',
		'title': '',
		'imageId': '69984189',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984199&x=106',
		'title': '',
		'imageId': '69984199',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4011057&docid=69984220&x=106',
		'title': '',
		'imageId': '69984220',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4011057';

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