var varArray = [
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960448&x=4935',
		'title': '',
		'imageId': '69960448',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960547&x=4935',
		'title': '',
		'imageId': '69960547',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960544&x=4935',
		'title': '',
		'imageId': '69960544',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960454&x=4935',
		'title': '',
		'imageId': '69960454',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960437&x=4935',
		'title': '',
		'imageId': '69960437',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960447&x=4935',
		'title': '',
		'imageId': '69960447',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960550&x=4935',
		'title': '',
		'imageId': '69960550',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960549&x=4935',
		'title': '',
		'imageId': '69960549',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960438&x=4935',
		'title': '',
		'imageId': '69960438',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960446&x=4935',
		'title': '',
		'imageId': '69960446',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960548&x=4935',
		'title': '',
		'imageId': '69960548',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960443&x=4935',
		'title': '',
		'imageId': '69960443',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960445&x=4935',
		'title': '',
		'imageId': '69960445',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960452&x=4935',
		'title': '',
		'imageId': '69960452',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960451&x=4935',
		'title': '',
		'imageId': '69960451',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960440&x=4935',
		'title': '',
		'imageId': '69960440',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960442&x=4935',
		'title': '',
		'imageId': '69960442',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960551&x=4935',
		'title': '',
		'imageId': '69960551',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960545&x=4935',
		'title': '',
		'imageId': '69960545',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	},
	{
		'link': '/sms/docviewer/aucdoc?auc=4009941&docid=69960546&x=4935',
		'title': '',
		'imageId': '69960546',
		'alt' : '',
		'rotation': 0,
		'orientation':''
	}
];
var title = 'Auction #4009941';

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