var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851445&x=4121',
		'title': '',
		'imageId': '69851445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851449&x=4121',
		'title': '',
		'imageId': '69851449',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851434&x=4121',
		'title': '',
		'imageId': '69851434',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851451&x=4121',
		'title': '',
		'imageId': '69851451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851454&x=4121',
		'title': '',
		'imageId': '69851454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851442&x=4121',
		'title': '',
		'imageId': '69851442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851452&x=4121',
		'title': '',
		'imageId': '69851452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851447&x=4121',
		'title': '',
		'imageId': '69851447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851433&x=4121',
		'title': '',
		'imageId': '69851433',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851448&x=4121',
		'title': '',
		'imageId': '69851448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851450&x=4121',
		'title': '',
		'imageId': '69851450',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851453&x=4121',
		'title': '',
		'imageId': '69851453',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851439&x=4121',
		'title': '',
		'imageId': '69851439',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851446&x=4121',
		'title': '',
		'imageId': '69851446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851436&x=4121',
		'title': '',
		'imageId': '69851436',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851437&x=4121',
		'title': '',
		'imageId': '69851437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851435&x=4121',
		'title': '',
		'imageId': '69851435',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851443&x=4121',
		'title': '',
		'imageId': '69851443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851440&x=4121',
		'title': '',
		'imageId': '69851440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851441&x=4121',
		'title': '',
		'imageId': '69851441',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851438&x=4121',
		'title': '',
		'imageId': '69851438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851444&x=4121',
		'title': '',
		'imageId': '69851444',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4005579&docid=69851458&x=4121',
		'title': '',
		'imageId': '69851458',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4005579';

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