var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750898&x=4844',
		'title': '',
		'imageId': '69750898',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750899&x=4844',
		'title': '',
		'imageId': '69750899',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750934&x=4844',
		'title': '',
		'imageId': '69750934',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750880&x=4844',
		'title': '',
		'imageId': '69750880',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750926&x=4844',
		'title': '',
		'imageId': '69750926',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750904&x=4844',
		'title': '',
		'imageId': '69750904',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750941&x=4844',
		'title': '',
		'imageId': '69750941',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750917&x=4844',
		'title': '',
		'imageId': '69750917',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750909&x=4844',
		'title': '',
		'imageId': '69750909',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750940&x=4844',
		'title': '',
		'imageId': '69750940',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750910&x=4844',
		'title': '',
		'imageId': '69750910',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750935&x=4844',
		'title': '',
		'imageId': '69750935',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750915&x=4844',
		'title': '',
		'imageId': '69750915',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750879&x=4844',
		'title': '',
		'imageId': '69750879',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750900&x=4844',
		'title': '',
		'imageId': '69750900',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750921&x=4844',
		'title': '',
		'imageId': '69750921',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750922&x=4844',
		'title': '',
		'imageId': '69750922',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750929&x=4844',
		'title': '',
		'imageId': '69750929',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750884&x=4844',
		'title': '',
		'imageId': '69750884',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750881&x=4844',
		'title': '',
		'imageId': '69750881',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750882&x=4844',
		'title': '',
		'imageId': '69750882',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750897&x=4844',
		'title': '',
		'imageId': '69750897',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750890&x=4844',
		'title': '',
		'imageId': '69750890',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4001633&docid=69750883&x=4844',
		'title': '',
		'imageId': '69750883',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4001633';

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